FB Graph API returns 200 error - facebook

using app token to get fb url pages likes but seeing this message.
"(#200) Access to this data is temporarily disabled for non-active apps or apps that have not recently accessed this data due to changes we are making to the Facebook Platform. https://developers.facebook.com/status/issues/205942813488872/"
Any idea when it would be available ?

Related

Unsupported post request while making facebook graph API request to post data in Catalog

I am beginner in Facebook Graph API and While making the post request to "/{catalog_id}/batch" I get the following error: "Unsupported post request. Object with ID '<catalog_id>' does not exist, cannot be loaded due to missing permissions, or does not support this operation." with error_code:100 and error_subcode:33.
I suppose this error is due to the lack of write permission for catalog_management for which an App review is required. But when the app is in development mode and we need to push the test data to catalog, I don't think we need app review and there must be any solution to push test data using "catalog batch API" method without requesting the app review.
Also while trying to generate token from system user, all the permission selection check box are disabled.
response from graph API call
permission code selection while generating token from system user

Getting "(#100) Pages Public Content Access requires either app secret proof or an app token" issue when calling Facebook API?

I am developing an app that syncs with users Facebook account and fetches Facebook page information. Initially, app asks for Login with Facebook and gets page list. After getting pages I am calling API to get posts associated with each page. Once I get post details then I am calling insight APIs to get insights of each post.
This flow working fine with development mode but when I switch to Live mode I am getting the following error
Client error: `GET https://graph.facebook.com/v4.0/100575944711552/feed` resulted in a `400 Bad Request` response:{"error":{"message":"(#100) Pages Public Content Access requires either app secret proof or an app token","type":"OAuthE (truncated...)
{"userId":1,"email":"superuser#corals.io","exception":"[object] (GuzzleHttp\\Exception\\ClientException(code: 400): Client error: `GET https://graph.facebook.com/v4.0/100575944711552/feed` resulted in a `400 Bad Request` response:
{\"error\":{\"message\":\"(#100) Pages Public Content Access requires either app secret proof or an app token\",\"type\":\"OAuthE (truncated...)
From the details what I observed I am getting this error while using,
GET /v5.0/{page-id}/feed HTTP/1.1
Host: graph.facebook.com
this endpoint. I am currently having 2 permissions approved,
manage_pages 2. read_insights
and app review team rejected 2 permissions saying the request is invalid and for this use case we don't require this which are,
1.Page Mentions 2. user_posts
Can anyone help me to understand what is the exact issue?
I had the same problem. Upon reacting to their damn changes yet again (manage_pages is not a thing anymore). I only had pages_manage_metadata but not pages_read_engagement to actually read the content on the page... -.-
I also appear this error. for me, I found that since graph api v5.0, request has changed. The docs said:
Page Public Content Access
This change applies to v5.0+
Requests made to endpoints that require the Page Public Content Access feature must be made with either an App Access Token or include the app's App Secret. If the calling app has been granted the manage_pages permission however, an app access token or app secret is not required.
If you only retrieve public data. You can use requests by app access token quick fixed. But if you want to get more. You need to follow the docs update. :)
I have fixed this issue. Everything is fine but the only issue is when authenticating with facebook login I needed to include "manage_page" permission in scope section.

cannot subscribe FB page to FB app recently

I have a FB app that works well before. It allows users to subscribe their pages to our app.
Recently, I got the error below when trying to subscribe a page to our app:
'Access to this data is temporarily disabled for non-active apps or apps that have not recently accessed this data due to changes we are making to the Facebook Platform.'
I am using this request url: https://graph.facebook.com/me/subscribed_apps?access_token=xxx
It worked great before but not for now.
However, when I try to submit the same request with the
https://developers.facebook.com/tools/explorer
it works.
Anyone canshow me how can I fix this problem?
Thanks,
Thanh
Have the same issue here. My APP uses Facebook Graph API to import events. Credentials for APP (token) was enabled a long time ago....
Now seems its throwing and error also at https://developers.facebook.com/tools/explorer/1405126029586258?method=GET&path=157956504840454%2Fevents&version=v2.12
Nether my APP or Graph API is working. Below the error message....
{
"error": {
"message": "Unsupported get request. Object with ID '157956504840454' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "EHCB6/XyJsA"
}
}
Same error on my app at Wordpress to import events
Message from Facebook answering the question...
As we begin enhancing our new app review process and make changes to our platform, the Events, Groups, Pages and Instagram APIs will no longer be available to new developers. Testing of our more robust process starts today and the new process should resume in a few weeks, but apps currently accessing Events and Groups APIs will lose access today. Going forward, access to these APIs will require a formal app review and for apps using the Pages API, submission is required within 90 days once app review resumes or access will be removed.
https://developers.facebook.com/blog/post/2018/04/04/facebook-api-platform-product-changes

Graph returned an error: Error validating access token: The session is invalid because the user logged out

I have made the the facebook app for read facebook user profile wall post data (not facebok page), and i am getting two issues, as follows,
Data getting displayed not for every user, only me and my app registered test user timeline data can be visible. how can i see everyone data after authorization of app ?
I am generating long lived Access-token (60 days) because i wanted to access user timeline profile data although user is offline or logged-out.
Note: my app is web-based, in development mode, and i am generating longlived token by https://graph.facebook.com/oauth/access_token?client_id=MYAPP_ID&client_secret=MY_APP_SECRETgrant_type=fb_exchange_token&fb_exchange_token=ACCESS_TOKEN_GET_AFTER_APP_ATHORIZATION_BY_USER and only access user_posts permission by app.

Facebook Page status not displaying when created with Graph API

I have a Facebook App which is successfully retrieving feeds via the Graph API and is also posting content without any apparent errors. The App is an internal intranet-based client for updating Facebook Pages.
The issue I have is that when I post a Picture or Link type message they appear exactly as expected on the Page's public wall. However, simple status messages posted via my App are behaving oddly.
Statuses are present in the me/feed API response, and I can see them on the Facebook website when I am logged in as the Page's admin user. However, when logged in as any other account the statuses are missing from the feed.
The app is not in sandbox mode. The access token was obtained for the Page's admin user with manage_pages and publish_stream permissions, with the default privacy setting as public.
Does anyone have any idea why these status messages aren't being displayed publicly?