Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to get Facebook feeds for multiple ids iOS graph api

I'm trying to get facebook feeds from multiple ids using the Facebook Graph API on ios6. I don't think this will work though, as I'm trying to test it in the developers.facebook.com graph explorer tool, and it doesn't work. Here's what I'm doing:

in the graph explorer (where "my id" is my actual numerical id, etc.):

/id="my id"/feed --> this works

/ids="my id","my friend's id"/feed --> this does not work, I get the error

message": "(#803) Some of the aliases you requested do not exist: ids=,", "type": "OAuthException", "code": 803

Do I need to get the feed for all my friends and then filter by id? That seems wasteful.

like image 391
debuggrl Avatar asked Jan 27 '26 04:01

debuggrl


1 Answers

It appears that you're formatting the query incorrectly

ids is a parameter to the query, not part of the path (which /feed is)

/feed?ids=X,Y,Z should work

like image 85
Igy Avatar answered Jan 29 '26 13:01

Igy



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!