facebook c# sdk - The user hasn't authorized the application to perform this action

后端 未结 2 804
执念已碎
执念已碎 2021-01-17 01:30

I am building a console app that will publish streams to a page\'s wall.

Issue: I\'m getting \"The user hasn\'t authorized the application to perform this action\".

2条回答
  •  既然无缘
    2021-01-17 01:50

    "Liking your application" and "allowing your application to post to his wall" are two different sentences. There is no magic wand that allows you to override a user's preference whether they like you or not.

    Your best bet is to handle the "failure" and move on to the next person. If you want to know likers that don't want you to post to their wall, you can get that information in the return and store it in some type of "log".

提交回复
热议问题