I know this will let the user retrieve the latest 10 posts from cocacola page.
https://graph.facebook.com/cocacola/posts/access_token=%5B####%5D&limit=10
Is there any way I can retrieve the latest 10 posts from cocacola and pepsi Facebook pages at the same time.
Example:
https://graph.facebook.com/cocacola&pepsi/posts/access_token=%5B####%5D&limit=10
Can anyone help?
Thanks,
Sami
For the example you quoted, it’s
https://graph.facebook.com/posts?ids=cocacola,pepsi&access_token=[####]&limit=10In the general case
https://graph.facebook.com/?ids=<list of IDs>&fields=<list of fields> will work.This is covered briefly on the main Graph API documentation under the heading ‘selection’