Facebook - disable comments on post - facebook-graph-api

Can I use facebook API to make posts on a page where the comments are turned off.
In the apidoc https://developers.facebook.com/docs/graph-api/reference/v15.0/comment there is a can_comment field but is it readonly?

Related

How to get notify when a user mention page?

I just started to make Facebook page bot with Facebook Graph Webhooks/APIs
I'm finding a way to receive notifications, including mentioner_id and post_url, when someone mention my page in any posts.
I have tried searching for mentions in app permissions / page subscriptions
I also searched it up and found this one:
https://developers.facebook.com/docs/graph-api/webhooks/reference/page/#mention
But still no luck...
This is what my page subscription fields looks like:

How can I know if a post of a facebook page is an ad or not?

Are the ads in Facebook considered as posts , is there a way to distinguish organic
posts from Ads ?
Some type of ads like unpublished page posts are ads considered "posts".
Usually, non-serving posts on the Page are used to create ads in the News Feed that will not appear on your Page.
Visually, in the news feed, you see as "sponsored post".
Using the API (https://developers.facebook.com/docs/graph-api/reference/v2.9/post), you can distinguish the posts using the field "is_published", that returns 'false' for page posts created as part of the Ad Creation process.
I hope it helped you.

How can I get 'highlighted post' information from my fb profile page in my ios5 app using facebook api?

I'm developing an app for iPhone(ios5), where I need the information of the posts I made highlighted in my facebook profile. Using facebook-graph api its possible to get all the data of user profile but is there any way I can get highlighted posts data ? For example I want to count and keep track of how many posts I highlighted in fb timeline.
You can use [pageid]?fields=posts.fields(timeline_visibility)
Each highlighted post will have timeline_visibility set to "starred"

The admin option doesn't show up next to my like button

I have a problem. I created an app in FB and then with that app I created a like button. FB says that I should see an admin link next to my like button on my website when I am logged in.
I have fb:app_id and fb:admins set up in meta, still I don'see the link. I would need it for two reason.
One is to acces the admin of the page so I can send messages for people who liked my site, also I want to set up a fanpage and once I could access the admin of the website likes according to the facebook documentation I could turn it into a fan page (FB page) this way not loosing the likes.
Thanks in advance
That functionality is deprecated, there's a migration guide on Facebook's developer site explaining how to move your OG pages to regular pages if you want to maintain part of that functionality

Facebook Graph API does not return comments from a specific user

I am using the Graph API to retrieve the comments attached to a status update on a Facebook Page using a URL of this form:
"https://graph.facebook.com/status-ID/comments?access_token=XXX"
The above URL does not return any of the comments from a specific user while comments from all other users posted before and after that user’s are returned. Any idea what could be the cause of this?
Thank you.
This user has modified their Facebook Privacy Settings in the section How people bring your info to apps they use so that while you can view their comments via Facebook directly, you cannot view that same info via a Facebook App.