python-facebook | A Python Facebook client
kandi X-RAY | python-facebook Summary
kandi X-RAY | python-facebook Summary
A Python client for Facebook.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Authenticate a Facebook profile
- Get an OAuth access token
- Deauthorize Facebook profile
- Parse a signed request
- Get a user object
- Make a request
- Return a list of friends
- Get a list of user friends
- Return a list of user albums
- Get user albums
- Returns a list of user s likes
- Get a user
python-facebook Key Features
python-facebook Examples and Code Snippets
Community Discussions
Trending Discussions on python-facebook
QUESTION
Using python 3.7
I would like to access all comments available through the facebook api based on a search criteria. I have created a developer account and started playing around with pyfacebook and facebook-sdk. Currently, I have only been able to access content on pages I have admin rights to, by using this posts and this one.
I haven't been able to find out what I need to do to effectively search facebook for some terms of interest and collect all the comments for each object that come out.
Example: I would like to search the facebook page for 'airlines', and then get all the comments for each of the posts and public groups that are listed. I would be happy with just the comments from the posts if necessary.
I would like to do some sentiment analysis and possibly topic identification.
Can someone point me in the right direction?
...ANSWER
Answered 2019-Dec-20 at 06:56There is no way to search for posts or comments in general, you can only get posts of specific Pages and search in those on your own - either by using a Page Token or by applying for Page Public Content Access for Pages you do not own.
QUESTION
I am down to python2 and im kinda loving it and make me say 'i wish i was curious of it earlier' but i'm stuck in pagination of places in facebook sdk (and there is not enough documentation about that on website)
I wrote a logic to iterate through pagination results but somewhere its broken badly and repeats 25 time of same results.
...ANSWER
Answered 2018-Mar-09 at 02:36This code will insert the same data repeatedly.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install python-facebook
You can use python-facebook like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page