All new Facebook applications (created today – Apr 25, 2018) can’t be authorized with publish_actions permission.

Facebook just complitely broke an ability to post through its native API. All apps that were created before today are still working fine and can be authorized without any new issues.

All apps created today show this error during the authorization: “Invalid Scopes: publish_actions. This message is only shown to developers. Users of your app will ignore these permissions if present”.

publish_actions is a permission that allows Facebook apps to create posts on Facebook. Since this permission is no longer available to new apps, it basically means new apps can’t post there anymore.

At this point we don’t know if its a bug or Facebook deliberately turned off an ability to post through its API. They provided no info about that (as usual).
[Update] Facebook published an explanation.

Deprecation:

The publish_actions permission will be deprecated. This permission granted apps access to publish posts to Facebook as the logged in user. Apps created from today onwards will not have access to this permission. Apps created before today that have been previously approved to request publish_actions can continue to do so until August 1, 2018. No further apps will be approved to use publish_actions via app review.

This means that they have officially closed an ability to publish to user profiles through the native Facebook API.

[Update 2 (*****Solution (Only for v 2.12 Apps )*****) ] Please update your plugin. SNAP WordPress plugin 4.2.3 has been released. It has two authorization links:

If your app was created AFTER April 24, you need to use the top link “Authorize Your Facebook Account without “publish_actions””. The other link will cause “”Invalid Scopes: publish_actions” error.
If your app was created BEFORE April 24, you can the second link. You still will be able to post to your profile until August 1, 2018

[Update 3: May 1st, 2018 (Facebook released API v3.0) ] Facebook officially closed unrestricted access to its API with API v3.0 release.

All API 3.0 Apps (created on or after May 1st, 2018) just show this error during the authorization:

and this error on attempts to post:

[Error] => (#200) Requires either publish_actions permission, or manage_pages and publish_pages as an admin with sufficient administrative permission

PS: Premium NextScripts API for Facebook has full support for publishing to profiles, pages and groups.