Facebook Feed API is behaving strangely - facebook

We are using Facebook Graph API v5.0, we have seen errors for some customers while calling the User Feed API.
This is happening for only a few customers while other the API returns data.
{"error":{"message":"(#10) This endpoint requires the 'manage_pages' or 'pages_read_engagement' permission or the 'Page Public Content Access' feature or the 'Page Public Metadata Access' feature. Refer to https://developers.facebook.com/docs/apps/review/login-permissions#manage-pages, https://developers.facebook.com/docs/apps/review/feature#reference-PAGES_ACCESS and https://developers.facebook.com/docs/apps/review/feature#page-public-metadata-access for details.","type":"OAuthException","code":10,"fbtrace_id":"A29lzW8U9XGdaFvAI3P_xE5"}}
API= https://graph.facebook.com/v5.0/134502139957?fields=id,name,link,feed.fields(id,message,attachments,story,properties,created_time,to,from,message_tags,place,privacy).since(1621872358).until(1621958758).limit(100)
The interesting thing is: if we remove the field "from" from the API and make calls using the same token, we are able to get the response.

Related

Has something changed on Facebooks Graph today?

Has Facebook made a change to their Graph access today. For the past few months I've been able to access customers posts via the Json feed.
EG:
https://graph.facebook.com/{user-id}/posts?fields=promotable_id,message&access_token={user-access-token}
But all I'm getting back now is:
"To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Page Public Content Access' feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review."
What gives?
As it claims, you should submit an application to Facebook and get you endpoint approved for access 'Page Public Content Access'.
Our team submitted that application about a month ago and it passed. So we could access Page Public Content now.

Facebook Graph api Event crawling

I am developing something like an event calendar at the moment and would like to pimp it up with a bit more "live" data. Therefore I want to get data from Facebook and I think the right way to do this is the Graph api.
But I really cant get it working. I would like to either:
get all Events in a specific range from a Location (I don't think this is possible)
or get all Events from a specific page
or get all Data from a specific Event
But I don't get the API Documentation.
Do I need a Page API-Key or an Api API-Key. I don't even get the the Graph API Explorer to output any data.
When I want to crawl a Page I get
"(#10) To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Page Public Content Access' feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.","
I know it sounds quite obvious but I just want to test a bit and get to know the api before I develop the app. I can't submit anything right now..

How do I get page likes on Facebook? (Since May 1st's update)

Since May 1st (2018), Facebook seems to have changed its developers tools and now requires a "verified" business account to be able to use many of their APIs calls. I am wondering if it's possible to use a normal "unverified" Facebook App's app_id and app_secret to get public information such as a page's fan_count. I used to be able to do this, but since May 1st I get this message:
To use 'Page Public Content Access', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Page Public Content Access' feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.
Is there any way of getting the information I want without going through the (now) very long process of verifying an App?
I am particularly interested in doing this with PHP's SDK or pure HTTP call.
Thanks a lot!

Getting group feeds via Facebook Graph API returns limited result list

I need to get feeds from public Facebook groups via Facebook Graph API. The documentation says, that I need "Any valid access token if the group is public" to get the news feed from public groups.
I am trying to call this request with valid access token:
https://developers.facebook.com/tools/explorer/?method=GET&path=vyvojari%2Ffeed&version=v2.8
but I only get few old posts instead of the list of actual posts.
Am I missing something?

Facebook Graph API: shouldn't /userId/subscribers list subscribers for non-friends?

From the docs: https://developers.facebook.com/docs/reference/api/user/#subscribers
I was testing on Graph API Explorer and noticed that I can't get the public subscribers list from a non-friend person through that API connection even when I can see them via http://www.facebook.com/userId/subscribers page.
It retrieves only the summary info with total_count, nothing on data. Am I missing something or it's unsupported by design?
Thanks!
Yes this is by design, the API doesn't reflect the public interface, it's best not to think about it like this. Always see the permissions needed
You can read the subscribers for a user for your app by issuing an HTTP GET request to /USER_ID/subscribers with the user access_token with the user_subscriptions or friends_subscriptions permission.
So as it says you can only read the authenticated user and the user's friends with the correct permissions.