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
Related
recently FB has been doing some major changes, from which they had restricted all data access to the /search query for type="pages" (groups, events, and one other object...)
Can anyone figure this out and help me with an alternative/workaround to find pages and page details using q="keyword"?
Thanks for any help.
You can find more information about Facebook disabling the /search API endpoint here: Where is the facebook graph api documentation for searching anything
Is it possible to programmatically analyze facebook trade groups? If yes, could you point me to a tutorial?
Edit: OK, seems like it's illegal per Facebook Terms of Service. I guess this makes the question irrelevant: https://www.facebook.com/apps/site_scraping_tos_terms.php
As Wizkid mentioned, facebook does not provide an api for fetching other people's facebook page content.
You can access plenty of information about your own Facebook Page using the Graph API, but not pages you dont have permissions on.
Programmatically accessing the page content of pages outside the graph api violates the facebook TOS, which will result in banning.
For a given Facebook user, is there a possibility to read all posts that he's made to any pages? On FB web, these can be found in the activity log, but so far I couldn't find a method to get them via API.
Both /user/posts and /user/feeds only contain status and profile updates, not posts to pages. I know I can read /page/feed and use paging to find this user's posts for any page the user likes, but how about those he doesn't?
No, outside of FQL, there is nothing in the API that accomplishes this. I'd imagine this to be a pretty data intensive call with minimal use cases however, so I don't think this will be introduced anytime soon.
I'd like to get the content from a facebook group since there is a lot of valuable information in there. So is there way, hack or function that you could accomplish this with?
Simple, do an HTTP POST to the Graph API /{groupId} with your access code and you will get information programmatically. See: http://developers.facebook.com/docs/reference/api/group/
Is there a way to list all friendship requests using the facebook graph API? I didn't find anything in the docs, but with the experience I've undergone concerning the quality of this doc so far, I wouldn't be surprised if there was a way to it.
I think it's not possible using only Graph API. You will need to use any SDK and then make a FQL query.
Here you go:
http://developers.facebook.com/docs/reference/fql/friend_request/