I am trying to post facebook page on the wall. I can publish on the user’s wall using the application access token.
I got an application access token through the DefaultFacebookClient extension
public class ConnectionService extends DefaultFacebookClient{
public ConnectionService(String appId, String appSecret) {
AccessToken accessToken = this.obtainAppAccessToken(appId, appSecret);
this.accessToken = accessToken.getAccessToken();
}
}
With this, I can post to the user’s wall using appID and appSecret. But when I tried to post to the wall I get the error message "The user did not allow the application to perform this action"
Can anyone consult?
Alvin source
share