Question

I want to embed a stream of facebook posts onto a web page that is comprised of posts all around facebook containing a specific hash tag, but I'm not quite sure how to go about it. I had to do the same with twitter and instagram, but those were all fairly easy to accomplish. I'm just kind of looking for the best option right now, not so much on specifics. I've seen a couple of times the graph api for facebook as an option, but every time I see those they seem to be from a year ago, so not sure if it's out of date or if there is a better option out by now. Any recommendations on ways to go about it would be greatly appreciated.

Was it helpful?

Solution

See my answer here on how you can use the Search API for hashtags:

Need help on employing Graph Search parameters for hashtag query on facebook

Basically, you can call

https://graph.facebook.com/search?q=%23selfie&type=post&access_token={user_access_token}

Be aware that you have to use v1.0 of the Graph API, because in v2.0 searching for public posts will no longer be possible (https://developers.facebook.com/docs/apps/upgrading#upgrading_v2_0_graph_api):

Public post search is no longer available. (/search?type=post&q=foobar)

Graph API v1.0 will only be available until 30th of April, 2015.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top