Gligor Florin
Gligor Florin

Reputation: 380

Facebook API status_update permission

I wrote an application to check if a specified Facebook page (by user) exists, namely it`s real. Namely, the user fills the page url and the API posts something on that page and then check for the existence of that post, based on id received when posted. Used the following permissions to do that:

protected static $permissions = array('scope' => 'email, manage_pages, publish_actions, status_update');

After a few months of 'normal' functioning, it seems that out of the clear blue sky, status_update is no longer a valid Facebook permission. If I remove it from the array, I receive the following error: Facebook\FacebookPermissionException: (#200) The user hasn't authorized the application to perform this action. Any ideas?

Upvotes: 0

Views: 468

Answers (1)

andyrandy
andyrandy

Reputation: 74014

There is no permission called status_update, only publish_actions is needed to publish something on the user wall. If you want to post "as Page", you need publish_pages.

It´s not "out of the clear blue sky", status_update is deprecated since many years already. You may have missed the v2.0 upgrade.

Upvotes: 2

Related Questions