Search code examples
facebookfacebook-graph-apiwindows-phone-8.1facebook-c#-sdkfeed

facebook c# SDK empty me/feed


I have implemented me/feed facebook graph API using facebook c# SDK in my windows phone 8.1 store app. Suddenly I am getting BLANK feeds data array. Looks like access token I am getting with read_stream permission which is used already while login, access_token don't have read_stream or users_post any kind of permission. Why those permissions are not appended to access token suddenly.

Anyone facing this issue?

Any help is appreciated. Thanks


Solution

  • Since we found out in the comments that you are trying with a user who does not have a role in the App, and it does work with an App Admin/Developer, there is only one explanation: You need to go through a review process with user_posts (and most other permissions). Detailed information is in the docs: https://developers.facebook.com/docs/facebook-login/review

    Without review, that permission will only work for users with a role in the App (Admin, Developer or Tester). Btw, read_stream is deprecated and you would not get it approved anyway. User user_posts instead.

    Dont´t forget to check out the changelog once in a while: https://developers.facebook.com/docs/apps/changelog