Reputation: 26193
Washington Post (https://www.facebook.com/dialog/permissions.request?app_id=225771117449558&display=page&next=https%3A%2F%2Fapps.facebook.com%2Fwpsocialreader%2F%3F&type=user_agent&canvas=1&perms=user_about_me%2Cuser_likes%2Cpublish_actions") is able to request the publish_actions permission.
It says this on Facebook:
While in Open Graph Beta, the 'publish_actions' permission can only be requested from developers and test users of your app. The 'publish_actions' permission will be ignored if requested from any other user.
When I try requesting the permission from non-developers, this shows up:
Logging in will not add this app's activity to Facebook.
Upvotes: 4
Views: 15024
Reputation: 865
Request for publish_action
LoginManager.getInstance().logInWithPublishPermissions(this,Arrays.asList("publish_actions"));
But on 1st, August 2018
Facebook announced new policy so, After 1st, August 2018 publish_action
no longer available for Facebook share post programmatically.
Read More about Facebook Updated Policy: click here
Upvotes: 1
Reputation: 731
User this function
function postToFacebook() {
FB.ui({
method: 'feed',
link: 'www.fb.com/mahfuzcmt',
caption: 'bitSoft',
}, function(response){});
}
and call
<a href="#" onClick="postToFacebook()">Post to Facebook</a>
Upvotes: 0
Reputation: 11
In addition to the Facebook app authentication settings, you have to updated your fb:login-button
to request the publish_actions permission
.
See: Facebook Developers - Login Button
Upvotes: 1
Reputation: 23
Yes, this will work only when the timeline is rolled out to everyone. When is the revised date, I am not aware.
Upvotes: 1
Reputation: 43816
Requesting publish_actions currently works as follows
Upvotes: 1