简体   繁体   中英

Post to User's Facebook wall from javaScript sdk

I would like to use the Facebook SDK to post to a users wall. I just can't seem to get it right and still receive This does not let the app post to Facebook. on any of my permissions boxes.

FB.login(function(response) {
    // handle the response
}, {
    scope: 'user_location,user_likes,user_posts',
    return_scopes: true
});

I believe that the user_posts permission is what is needed, but clearly its not.

You need publish_actions permission in order to publish posts on behalf of a user.

The user_posts permission provides access to user's timeline ( but not only posts of user).

Take a look at permissions reference .

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