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

2.7k views Asked by At

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

1

There are 1 answers

2
hehe On

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