I want my site users to share a custom post to their Facebook timelines using Feed Dialog. But I am stuck with permission issues. The post_id is not coming after the user successfully shared the post. The post_id requires the app to have publish_actions granted, as per the Facebook doc (https://developers.facebook.com/docs/sharing/reference/feed-dialog).
Snapshot of the feed-dialog doc
But when I tried to give the permission in the App Review section by adding publish_actions, it says that my app should not be using publish_actions to using Feed Dialog feature. Both of the documents are contradicts each other. I am confused.
Snapshot shows where it denies to use publish_actions permission for Feed Dialog
(https://developers.facebook.com/docs/facebook-login/permissions/)
Please guide me if I am missing something at this point. Thank you in advance.
Related
Facebook seems to have discontinued the publish_actions permission recently so that apps can't post for a user anymore:
https://developers.facebook.com/docs/graph-api/reference/v3.1/page/feed#publish
The recommended alternative is to use the share dialog. Is there any way that the share dialog can be configured so that it would post to pages (that I don't own) instead of posting to the users feed?
as per facebook's documentation they will be removing "publish_actions" permissions after August 1, 2018. As an alternative they have suggested to use Share Dialog https://developers.facebook.com/docs/sharing/reference/share-dialog , But share dialog doesn't serve my purpose as previously I was publishing photos to users timeline from my plugin using "publish_actions" adding that photo a any specific album present on user's account, however Share Dialog is now allowing me only to share link of the photo which gives user different exeprience. Is there an alternative way to post photo to any of the user's album without using "publish_actions" permission.
TIA
Ruby
Take look on publish_groups.
"The publish_actions permission is deprecated in Graph API v3.0. Apps can still post stories via mediated experiences like the Facebook Share Dialog on the web, or the Share Sheets for iOS and Android. Apps can publish to groups through the publish_groups permission, which requires an app go through review."
https://developers.facebook.com/docs/apps/review/faqs/?fragment=graph-api-3-0
section:
"My app uses the user_managed_groups permission. Is it affected by v3.0?"
Hope this helps
I have a website that does the following:
Retrieve Facebook Page posts from a specific Page.
Display posts on website.
If a visitor is not logged in to Facebook, display a custom 'log in with Facebook' button next to each post. Otherwise display a custom 'thumbs up' button.
By clicking the 'thumbs up' button, the user is able to like the specific Facebook page post with their own Facebook account. Nothing should show on the user's timeline other than the regular posts that Facebook displays whenever a user likes something on Facebook.
I'm using the Graph API likes method (https://developers.facebook.com/docs/graph-api/reference/v2.2/object/likes/) which requires the publish_actions permission.
Everything is working great, users are able to like posts on the Facebook page from the website, and the action shows up in their Activity Log.
The problem is the app is rejected for the following reasons:
Notes from our review team (Web)
The expected story doesn't publish back to Facebook. I've tried with different test users to reproduce the publish_actions, but nothing is publishing. Please check links and resubmit. Also provide a timeline screenshot of the publish story. Thank you.
publish_actions (Web)
We could not reproduce the requested permission. Please submit a timeline screenshot of a successful publish on Facebook, as well as detailed, step-by-step English instructions in the "Add Notes" section of the permission.
See here for additional information on login permission requirements.
I've provided step by step instructions, screenshots of the website as well as a screenshot of the user's Activity Log that shows them liking the post. Still no luck.
I think the problem may be that they are expecting some sort of story to be displayed on the user's timeline, which I don't need or want. I just want to let the user like the post from a Facebook page which DOES work and confirmed by everyone who's tested it on my end.
If anyone can point me in the right direction (I'm unable to provide screenshots or code here, sorry), it would be greatly appreciated. Thanks in advance!
When requesting publish_actions permission the message says the app is willing to post on your friends' wall but I actually just want my app to let the user post videos on his own wall. Do I need this permission to do so?
If you just want to share a Link (to a Youtube Video, for example), you can just use the Share Dialog - no authorization or permissions needed: https://developers.facebook.com/docs/sharing/reference/share-dialog
If you want to upload a photo or video, you will need to authorize the user with publish_actions. Keep in mind that the message must be 100% user generated.
Check out the "Publishing" part of the Facebook docs: https://developers.facebook.com/docs/graph-api/reference/v2.1/user/videos
A user access token with publish_actions permission can be used to publish new photos.
...well, that is actually a bug in the docs, it should be "videos", not "photos", of course. I´ve filed a bug report for this: https://developers.facebook.com/bugs/303448543173296/
General information about sharing: https://developers.facebook.com/docs/web/share
Do you use standards dialogs? According to the facebook api documentation you don't need this permission for theses dialogs.
(see: https://developers.facebook.com/docs/facebook-login/permissions/v2.1#reference-publish_actions)
If you use the Facebook Graph API you don't need this permission if you only want to post on the user feed.
I have tested with "publish_stream" permission, and my app can publishes an item to the user's feed with this permissiom. But there is a major problem with this
When the "publish_stream" permision is reqisted, it frightens the users because the Facebook warning or prompt is scarry : "Post to Facebook as me. .... may post status messages, notes, photos, and videos on my behalf"
For a lot of users, this is a deal breaker. They do not want anyone posting as them
b) I became of fan of TopGear and CBSnews -- these applications are able to post news to my newfeed -- without me giving them "publish_stream" permission.
So what is the best permission to use for this purpose ?
publish_stream is required for the app to publish as the user to the users feed via the graph api. No permission is required if you are using the javascript FB.ui method of publishing because the user has the option of typing in their own message and/or cancelling it.
If you become a fan of a page, those pages aren't publishing updates as you. You are simply seeing their updates in your home page stream. Your friends won't see those updates unless they also become a fan of that page.