vendredi 27 mars 2015

Facebook Graph API {user-id}/feed from others empty

I want to get /{user-id}/feed from another user (user B) rather than "me" (user A), but the query returns an empty list.


I'm using the Graph API Explorer to make the queries, and I've got the Access Token with user_posts, user_status and read_stream permissions, but I can't get this information.


In this thread is said that:



Additionally the queried user needs to grant the app the read_stream permission.



In this other thread they said:





  1. If the user is your app user authorized with read_stream permission, then you access the USER_ID/feed. It's because USER_ID/feed endpoint only available if user give permission read_stream to your app. App Access Token is not allow.




  2. If the user is not your app user with read_stream, then you access the USER_ID/links instead. It's because no read_stream permission require to access this endpoint. App Access Token is not allow.





MY QUESTIONS:



  1. Do I really need this other user (user B) to grant this permission to access his feed?

  2. Where can I find official documentation saying so?

  3. As /{user-id}/links seems to be accessible, are posts, statuses or tagged accessible too, or I just can access links without User B granting this permission?


Note: Since the purpose is to use it in and iOS and Android App I can't use the read_stream permission, so I would use the user_posts which is supposed to be valid as they say in http://ift.tt/1IArr8G >


Aucun commentaire:

Enregistrer un commentaire