简体   繁体   中英

Facebook SDK Manage pages error: The user hasn't authorized the application to perform this action

I'm getting this weird Facebook PHP SDK error just with some of the users of my app.

This is the array of permissions I am requiring to the users:

['email', 'publish_stream', 'manage_pages', 'read_insights', 'status_update']

My app publish content on the Facebook pages of my users, using an extended access token for different weeks.

Since I've updated to the Facebook SDK v4 few weeks back, some of the users are getting this error:

"The user hasn't authorized the application to perform this action."

Do you have any idea why this could be happening?

Thanks

You should use publish_actions instead of publish_stream. publish_stream have been deprecated for years

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM