简体   繁体   中英

How to fetch information from Facebook by Python

I want to know how to extract data from Facebook using Python. What I am looking for is how to saerch a query on Facebook page. How many time the said string has been posted and other stats.

You could either use facebook-api which is available here https://facebook-sdk.readthedocs.io/en/latest/api.html

or you could use Beautiful Soup and parse the website (less recommended and it will probably give you hard time)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM