How to bring facebook public posts for a given hashtag, for example #OlaWorld. I need the postings to come in JSON format.
How to bring facebook public posts for a given hashtag, for example #OlaWorld. I need the postings to come in JSON format.
Facebook does not provide search capabilities for tag , the only type of posts found in documentation , is based on ID:
/* make the API call */
FB.api(
"/{post-id}",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);
Where {post-id}
should be the post ID.