You must Sign In to post a response.
  • Category: JavaScript

    Facebook app error while post on wall from my web application

    Hello members,

    I have already asked question regarding how to ask for public_action pemission for facebook app.
    http://www.dotnetspider.com/forum/338276-Facebook-app-permission-issue.aspx

    Fortunately, facebook developers approved my request for pubc_action permission.
    But still i can not post on facebook wall.
    I can post on wall because i am Admin of facebook app. but when i login with another account than i got this error

    {"error":{"message":"(#200) The user hasn't authorized the application to perform this action","type":"OAuthException","code":200}}

    Can any one have an idea regarding that?
    Any suggestion will highly appriciable.

    Note: I have already tried all solutions from google, those all solutions requires public_action permission which i have already provided.
  • #751296
    you can fix this by setting appropriate permissions for each role under /admin/config/services/fbpermissions . Try to set the settings to all the rroles then you can do this i guess. dont forget to logout and login again after changing the settings.
    Rajesh B
    To Live More,Learn More

  • #751298
    Hey rajesh,

    from where i can set that? i can't get you.

    Regards,
    Nirav Prabtani (Senior Web Developer)
    Email : niravjprabtani@gmail.com
    blog : niravprabtani.blogspot.in

  • #751301
    Hi members,

    Finally i got solution for my issue.
    After complete submission for publish_action permission i got submission result two days ago.
    Facebook developers approved my request for public_action permission.
    For more complete documentation of submission process.
    https://developers.facebook.com/docs/apps/review

    after approval of a public_action ,when user login in my aplication than they can not post on wall and it gives same error
    "error":{"message":"(#200) The user hasn't authorized the application to perform this action","type":"OAuthException","code":200}}"

    So later on i have read about permission asking, When user logged in than i should ask for permission to post on wall.
    for that i have to change in perm to scope in my login button code.

    <fb:login-button class="fb-login-button" autologoutlink="true" onlogin="OnRequestPermission();" scope="email,publish_stream,public_profile,user_checkins,publish_actions,status_update,user_friends,read_stream, user_photo_video_tags, user_photos, friends_photos ">
    </fb:login-button>

    So now it is asking for permission after login and every one cam post on wall now.

    Regards,
    Nirav Prabtani (Senior Web Developer)
    Email : niravjprabtani@gmail.com
    blog : niravprabtani.blogspot.in


  • Sign In to post your comments