Facebook new permissions - Can't post video to user timeline - facebook

Facebook came out with an update yesterday removing the permission publish_actions. That permission allowed me to publish a video to a user's profile or a page that they managed.
I figured out that publish_to_groups allows me to still publish videos to any group pages the user manages. But I cannot figure out how to publish to the user's on timeline. I tried publish_video but still I get the error (#100) No permission to publish the video"
$(document).on 'click', '#facebook_sign_in', (e) ->
e.preventDefault()
FB.login ((response) ->
window.location = '/auth/facebook/callback' if response.authResponse
),
scope: 'email,publish_to_groups,publish_video,publish_pages,manage_pages,pages_show_list'
What permission do I need in order to publish videos to a user's timeline?

I just got a confirmation from Facebook devs that uploading a video to a user's timeline is no longer supported in the API. Nor is it supported in the web version of the share dialog (the web version of the share dialog only posts links). It is supported for the iOS and Android versions of the share dialog.
https://developers.facebook.com/docs/sharing/ios/
https://developers.facebook.com/docs/sharing/android

Related

Alternative for Facebook API without using "publish_actions" to publish a photo

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

How to share post to Facebook using Feed Dialog v2.11

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.

Reading news feeds from Facebook fails after upgrading graph API 2.0

Hi There is a requirement in my application, where we need to show the user news feeds. For this we were using Facebook permission "read-stream" before Facebook has changed their list of permissions.
Now after they have shifted to the new API v2.0 there are comments saying that
"read_stream permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For example, Android and iOS apps will not be approved for this permission. In addition, Web, Desktop, in-car and TV apps will not be granted this permission."
If this is so what is the alternative to make my app fetch news feeds as earlier.
There is a another permission called "User_Posts" which says "Provides access to the posts on a person's Timeline. Includes their own posts, posts they are tagged in, and posts other people make on their Timeline"
But i am not able to see any posts or news feeds in my application when i have replaced "read_stream" with "user_posts".
The alternative is the user_posts permission and the /me/posts endpoint. Of course this does not return posts of friends for privacy reasons. You can read more about that in the changelog.
If you don´t get any results, make sure the Access Token includes the user_posts permission and debug it in the Debugger.

Is publish_actions required to post on user own wall? Facebook API

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.

What facebook permission does my app need to post to a facebook user's feed asynchronously or when the user is offline?

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.