Fetch articles of Facebook Media Blog by keywords - facebook

Facebook Media Blog, https://www.facebook.com/facebookmedia/blog does not have a sign in option. Users can directly access articles. I need to retrieve articles based on keyword from that blog. I don't see documentation for apis of facebook media blog. Can someone give an insight on that?
For example wikipedia has an opensearch api for searching pages through keywords.
This endpoint of wikipedia https://en.wikipedia.org/w/api.php?action=opensearch&format=json&search=rainbow gives output in json format related to rainbow. I expect a similar output.

Related

Retrieving data from Facebook DOM vs FB Graph API

I would like to have your opinion concerning the retrieval of data on Facebook pages DOM. Is the practice is allowed? I feel that it's not very advisable.
For example, is there a way to recover some posts of visitors on pages, by applying a filtering upstream ?
Thank you for your advises, and to provide the supporting documentation if possible
Scraping is not allowed, you must use the Graph API: https://www.facebook.com/apps/site_scraping_tos_terms.php
About Page posts, check out the docs for all the information you need: https://developers.facebook.com/docs/graph-api/reference/v2.5/page/feed

Why the number of comment in Facebook plugin is different from number of comment in Facebook API?

The question is as what the title stated. For example:
Social Plugin
There are only 2 comments in the Facebook plugin for that link.
Facebook API
The Facebook API says that there are 47 comments. What is the cause of the different? My thought is that the social plugin only counts the number of comment via the plugin, while the Facebook API one counts all the comments including the social plugin and any comment on the link in the Facebook. Am I wrong?
Check out data from Graph API.
It returns precise data, comment count for a Url, which is commented by a social plugin.
You, on the other hand, are accessing data from table link_stat, which is used for, as per offcial documentation
An FQL table containing counts that show how users on Facebook are interacting with a given link.
In the end, I agree with you, you get all activity for that link on the whole FB.

# Mentions on Facebook, linking content from my App

I know that there's no API from Facebook for adding #mentions in the post from Apps & that the message_tags are read-only, but how the other Apps on Facebook link content on the messages in their posts?
This is representation of OpenGraph actions user performed on objects and published by applications.
There is a tutorial and samples. Read Key Concepts of OpenGraph and/or OpenGraph documentation for more detailed information.

How to put activity from your site in facebook user's profile

When I log in with Facebook at http://news.yahoo.com/ and I visit some article, a link to this article is shown at my facebook wall.
The note on Facebook says, for example "Paul read article Pannetta Formally Shuts Down US War in Iraq in application Yahoo!"
I would like to add same feature to my website. How to do it? I could't find any usefull examples or tutorials.
Example:
Facebook has a Step-by-Step Tutorial that covers this capability. I recommend starting with the documentation on Actions and Objects before delving into the tutorial if you have no experience with Graph API.

Is it possible to get the share count for a Page post?

I am trying to collect stats on posts published to a Facebook Page. Right now I am able to track the number of comments and likes on a post easily, but shares are eluding me, and I'm wondering if it's even possible yet.
I have checked both the Graph API and the FQL tables and have not been able to find an obvious solution. The graph endpoint "/[PAGE_ID]/feed", as well as the endpoint for a post itself shows comments and likes quite plainly, but nothing about shares. Furthermore, the (undocumented?) endpoint "/[PAGE_ID]_[POST_ID]/insights" provides some fairly mysterious data about post "clicks", but nothing about shares. Finally, the FQL "stream" table again plainly provides data about comments and likes, but not about shares.
It's quite a conspicuous piece of data to be missing, as the share counts for a Page's posts would make for a really interesting, useful metric in third-party social media management software...
It is Available for a Page post and how ever it comes under the insights section. This is the sample url to accomplish the work. Hope this is work and you mush have the necessary permissions and a valid access token.
read_insights : Provides read access to the Insights data for pages, applications, and domains the user owns.
this URL will return a json object which contains number of likes, comments , shares for your post. filter the json and you can get shares.
https://graph.facebook.com/[pageid_postid]/insights/post_stories&access_token=[access_token]
Hopes this will helpful.
You can now access the share count for a post. ie:
"shares": {
"count": 1565
},
Now it's available via insights section