debuggrl
debuggrl

Reputation: 35

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.

Upvotes: 3

Views: 1884

Answers (1)

Igy
Igy

Reputation: 43816

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

Upvotes: 4

Related Questions