TransWikia.com

Extract data from facebook

Data Science Asked on October 5, 2021

I am learning about social media analysis. I am aware that we can extract the data from twitter using hashtags and API. Ex; If I use #covid19, I will get all tweets that contain this hashtag for the duration that I specify.

Similarly, let’s say I visit a public Facebook page https://www.facebook.com/A123

Will I be able to extract only the posts which contain the term covid in their text (from all of their posts) using my API credentials?

Is it possible? I don’t like to extract all the posts from the page A123. However, I only wish to extract only the posts which contain the term covid in their text (from all of their posts)

Can you help me on how can it be done?

Any tutorial/tools available to extract this info?

One Answer

Yes, its called graph-api.

https://developers.facebook.com/docs/graph-api/reference/v7.0/page/feed

You should be aware that scraping data from facebook not using this api its violation of the regulations of fb laws and could you be ended with ban. So be careful.

Answered by fuwiak on October 5, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP