I am building an app for a client who uses a closed group on facebook for their customers. In it they post videos and also live videos.
I would like to embed the videos and past live videos in the app and also be able to watch the live video when they are live.
I've had limited success in testing this using the graph API. I am logging in using an account, which is a member of the group and I have also added the admin of the group as an admin of the app in the Facebook developer settings.
When I try to retrieve a standard video that has been posted to the group (so not a live video, or past live video) I get the 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.";
I have read a post somewhere on the internet where if I have the admin of the group as a role in the facebook developer settings then I shouldn't get the error above. Does anyone know what I am doing wrong here?
When I try to retrieve a past live video then I get the error:
message = "Unsupported get request. Object with ID '1337249189746920' 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";
I think this is because I do not have the right permissions but I am unsure as to what permission I am missing as I have read the permissions reference document and thought I had covered it all.
The permissions for my access token are:
user_videos, email, publish_video, manage_pages, pages_show_list, groups_access_member_info, public_profile
Does anyone know where I am going wrong here?
Related
I'm seeing this error for a page with this endpoint:
12345566/feed?fields=insights.metric(post_impressions_unique,post_impressions)
and I'm seeing this error: User doesn't have enough permissions to load insights
I've added the following permissions: read_insights pages_read_engagement, etc that is required according to the docs here but when I contact Facebook Developer support they say I have to add it at to Granular Scope.... how do I do this? I've attached a picture showing what the token debugger shoes for this Page Access Token permissions
I did have a similar issue on some of my pages. I did reach the Facebook's support on the matter.
TL;DR use /published_posts instead of /feed
Facebook's support full reply:
I have investigated this and I have a solution for you. Instead of using the /feed endpoint for the Page, please use the /published_posts endpoint instead.
The 'feed' for a page includes posts made by other Users/Pages when they tag your Page. When you try to access the insights for these posts made by other accounts, we run into the issue that this access token does not have the permissions to view those insights.
The 'published_posts' endpoint only includes posts made by the page itself, so you will be able to retrieve the insights using this.
Thank you for flagging this to us. I will see if there are improvements that could be made to our documentation or error messaging to improve the experience of other developers.
Hello Facebook Developers Community,
I am trying to go through the 'Request for App Review' process for which I have completed all the steps besides one which is very confusing and literally has no useful guidance anywhere.
The dashboard shows visual checkmarks on all the steps completed besides the 'Your submission must include pages_read_engagement to use instagram_basic'
Just a brief background on what i am trying to do:
I am only trying to get the facebook developer access approved to go live to use 'Instagram Basic Display' and the api's to allow my application users to connect their instagram account and fetch only single images posted on their account to be displayed with in my application.
We have already gone through the 'Business Verification' process and already have that approved as well as having the facebook business account connect to our instagram account.
the only help i came across was on 'Pages Api' docs which mentions that
'The pages_read_engagement permission allows your app to read content (posts, photos, videos, events) posted by the Page, read followers data (including name, PSID), and profile picture, and read metadata and other insights about the Page. The allowed usage for this permission is to help a Page Admin administer and manage a Page. You may also use this permission to request analytics insights to improve your app and for marketing or advertising purposes, through the use of aggregated and de-identified or anonymized information (provided such data cannot be re-identified).'
https://developers.facebook.com/docs/permissions/reference/pages_read_engagement
for which none of those endpoints I am using or plan on using at all and not sure how it even got added.
I am really not sure what else to do and what pages_read_engagement has to do with my app to be approved.
Any help would be greatly appreciated.
Thanks
I am creating some small api to help by business to post images from our CRM to instagram and facebook. Currenty I can find instagram_basic permission to read from instagram but can not find instagram_content_publish from anywhere.
I checked App Review Page From our production which connects to instagram and I also tried to set this permission to my test user on test application and I can not see that from permissions.
Can somebody please tell me why can't I find that specific permission. Without it I can not post to instagram from my app.
Note: Our Facebook page is connected to our instagram account.
As it is documented I have to assign instagram_content_publish in order to create posts on instagram https://developers.facebook.com/docs/facebook-login/permissions/#reference-instagram_content_publish
Image 1: No such permission found for test user
Image 2: No such permission found in App Review For production
Image 3: I can find instagram_basic for test user
You don’t get to see or find that permission, because your app is not among those allowed to use publishing functionality to begin with.
Content Publishing is not available to just any 3rd-party apps at the moment, but only to specific partner companies.
https://developers.facebook.com/docs/instagram-api/guides/content-publishing:
The Content Publishing API is in closed beta with Facebook Marketing Partners and Instagram Partners only. We are not accepting new applicants at this time.
As of January 27th, 2021 you can now publish to Instagram Business type accounts via the Instagram Graph API. Be sure to check out the restrictions in the documentation.
Blog Post:
https://developers.facebook.com/blog/post/2021/01/26/introducing-instagram-content-publishing-api/
API Documentation:
https://developers.facebook.com/docs/instagram-api/guides/content-publishing#endpoints
I have been using the Graph API of Facebook and for the publication of images, notice that the entire publication process is done correctly, whether it is a single image or a set of images, everything works well and I am the administrator of the page of Facebook I can observe the publications, but when I do it from any other account no longer.
In summary, I can post images and observe them from the administrator account, but everything appears hidden to the public.
The permissions my token has are: manage_pages, publish_pages, pages_show_list, publish_to_groups
I have read the documentation but I have not been able to find any errors in my tests:
https://developers.facebook.com/docs/graph-api/photo-uploads
https://developers.facebook.com/docs/graph-api/reference/page/photos/
Does anyone know how to solve this problem?
Do I need to have the application verified by Facebook?
Apparently, for all the public to see the images published it is necessary that the application go to active mode, so it is recommended that it be sent for verification.
Do you know if is there any way to collect last user's post on personal wall/timeline?
I need to know how many and which youtube videos has been shared by an user, reading them from his open graph profile.
I've never wrote any facebook app, but using the Open Graph Explorer seems that this kind of information is available if the user has set to "public" the privacy options of a post that contains a Youtube video.
My question is: could a third party app ask for the permission to read that kind of information? Could it have access to these posts also if they are not set as "public" by their owners?
EDIT: Could an app have access to user's posts like another friend of that user?
You can read the user's wall by creating an app with the read_stream permission and after the user grant you access by hitting the me/feed connection. But creating a 'listening' tool app is not recommended, if your app has no value for its users then you may need to rethink your app mission.