I have created a test app on Facebook and I need to access public pages using the graph API. I have all the required permissions and valid token.
This is the API I am trying to access:
https://graph.facebook.com/178585515507054/posts?access_token=TOKEN
The page is a public page.
I am getting the below response.
{
"error": {
"message": "(#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.",
"type": "OAuthException",
"code": 10,
"fbtrace_id": "BEOCTxA6eXn"
}
}
Now I know that I need to submit the app for review. But my app is not ready yet. Its still in development mode. Moreover, for the test version of my app, it doesn't even show the "App review" link.
Why does FB put such restrictions on test app? How to get my test app reviewed?
Related
I want to post on my own Facebook Page using Graph API.
For this, I have created an App.
When App is in Dev Mode, I am able to post on page using Page Access Token with proper permissions.
However, the problem here is, the post are not visible to public unless I make the App Live. The posts are only visible to Page Admins.
But as I make my App Live, I am getting below exception from FB APIs.
{
"error": {
"message": "(#200) If posting to a group, requires app being installed in the group, and \\\n either publish_to_groups permission with user token, or both pages_read_engagement \\\n and pages_manage_posts permission with page token; If posting to a page, \\\n requires both pages_read_engagement and pages_manage_posts as an admin with \\\n sufficient administrative permission",
"type": "OAuthException",
"code": 200,
"fbtrace_id": "abcdefgh"
}
}
I regenerated the Page Access token after I make my App Live but still above error is coming.
I checked some resources which says that I need to submit my App for review. But I don't want to go through that lengthy process.
So, Is there any otherway with which I can post on facebook page using API without putting my App for review process ? Will any other kind of token (i.e. other than page access token) work here ?
Please note, I want to make sure the posts I make to be visible by everyone and not just page admins.
Things were working find until yesterday. I'm developing a simple Instagram app, I made a basic login flow. Now, when I try to log in for the app with a business facebook account I get a message "You don't have any Instagram Business Accounts linked to a Page.", which is funny, because in business account manager, in "Instagram Accounts" tab, I have my business instagram account listed; trying to remove it gives me a message: "This Instagram Account can't be removed because it's already linked to an Instagram business profile.". Great, seems like it SHOULD be working. It isn't but, the second part follows.
I generated an access token for that instagram account for Instagram Basic Display API, queried node https://graph.instagram.com/me, I got my account ID in response. Now, I tried to query the user using Graph API - https://graph.facebook.com/17841431928202825 - but in response I get:
{
"error": {
"message": "Unsupported get request. Object with ID '17841431928202825' 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": "AwbBT4_pYZjEg5HbG1UHYPi"
}
}
For this I'm using an access token generated for the facebook account.
Do you have any idea why the hell it can't see my account both querying the API and from Business manager?
I have created a facebook business page and i want to get some posts over the graph api.
I have set everything up (Developer App, Token...).
I get this error when I make an http request:
{
"error": {
"message": "Unsupported get request. Object with ID '492303394120348' 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,
"fbtrace_id": "DxgFcxGEl2Y"
}
}
When i am using the page-id of another facebook page it is working.
What is the problem here. Can someone please help me?
App Tokens are not a good way to access a Page with the API. If the Page is restricted by age or location, you need a User Token of a user who is able to see the Page, or a Page Token of that Page. You should always consider using a Page Token.
I have admin access to a Business Facebook page, I created an app under the same account, when I then try to use the Graph API Explorer under that application using the access token generated I get:
get/v2.5/{client-name}/
"error": {
"message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100
}
I have full access so I do not know why I am getting a error. This normally works fine when I try it on a standard Facebook page, is there something extra I need to do for Business pages?
Since you are trying with an App Token, i assume that the Page is restricted by age or location. In that case, you have to use a User Token or Page Token of a user who is allowed to see the Page and its content.
More information about Tokens:
https://developers.facebook.com/docs/facebook-login/access-tokens
http://www.devils-heaven.com/facebook-access-tokens/
I am an admin of my app. I am trying to test an action in the graph API explorer and comes back with....
{
"error": {
"message": "(#100) The Action Type namespace:Place is not approved, so app 1456349955xxxxx can only publish to administrators, developers, and testers of the app. User 63114xxxx is not one of those roles.",
"type": "OAuthException",
"code": 100
}
}
The user id is actually my user id. Anyone else struck this?
You should select the app for which you are admin. By default, it uses graph api explorer app.
You can find the app in timeline