Connect Facebook Public to Python
Load public Facebook Page data into pandas from a Windsor.ai API URL, with the Page and post fields you pick.
Work out average reactions per post for each Page, or compare post types by shares, in your own Python code.
Forget CSVs. Stop copy/paste. Connect in minutes. No code required.
Get your Facebook Public data into Python
Facebook Public is connected once in Windsor.ai, and these are the use cases the fields support:
Benchmark competitor Pages
page_followers_count, page_fan_count and page_talking_about_count per page_name put the Pages you track side by side.
Find the posts people share
post_shares and post_comments next to post_message show which posts on each Page were shared and discussed most.
Compare post types
post_status_type with post_reactions per post shows whether photos, videos or links get more reactions on each Page.
Using Windsor.ai to connect data from Facebook Public to Python
Windsor.ai moves your Facebook Public fields into Python on a connection you set up once, so the scripts stay on live records rather than a CSV someone exported last week.
Pick the fields you need and Windsor.ai handles the rest.
How to connect Facebook Public to Python with Windsor.ai
Explore a step-by-step guide to integrate your Facebook Public data into Python with the Windsor.ai connector.
Connect a data source
In your Windsor.ai dashboard, connect Facebook Public: sign in with Facebook and add the public Pages you want to track. Select the account(s) you want to pull data from and click Next.
Set Python as a data destination
Scroll down and choose Python from the data destination list. Copy the API Key URL provided in the instructions below.
Integrate the API Key URL into your Python code to stream data
Use Python’s requests or a similar library to retrieve data from Windsor.ai by making an API call with your obtained API Key URL.
FAQs
What Facebook Public data can I load into Python?
Windsor.ai gives access to 65 Facebook Public fields. These are the groups; the Facebook Public field reference lists all of them:
- Page details: page_name, page_username, page_category, page_about, page_website, page_link, page_verification_status, page_founded.
- Page audience: page_followers_count, page_fan_count, page_talking_about_count, page_checkins.
- Page location: page_location_city, page_location_country, page_location_street, page_location_zip.
- Posts: post_id, post_message, post_story, post_status_type, post_created_time, post_updated_time, post_permalink_url, post_full_picture.
- Post engagement: post_reactions, post_likes, post_comments, post_shares.
- Reaction types: post_reactions_love, post_reactions_haha, post_reactions_wow, post_reactions_care, post_reactions_sad, post_reactions_angry.
- Date and account: date, week, month, account_name, account_id.
How does Windsor.ai load Facebook Public data into Python?
Windsor.ai gives you an API URL for your selected Facebook Public fields. Call it from Python with requests or a similar library and load the response into pandas or your own code.
Can I combine Facebook Public data with other sources in my scripts?
Yes. Windsor.ai supports 350+ data sources, so Facebook Public data can sit next to other connected sources in the same scripts. For example, put Facebook Public post_reactions by account_name next to Instagram Public media_like_count, to compare how the same competitors do on both networks.
Do I need to code to connect Facebook Public to Python?
No. You connect Facebook Public in the Windsor.ai dashboard, pick the fields you want, and Windsor.ai handles the transfer.
How much does it cost to integrate Facebook Public with Python using Windsor.ai?
The free forever plan covers 1 data source, so connecting Facebook Public on its own costs nothing and needs no credit card. Combining Facebook Public with other sources needs a paid plan: $19/month for 3 sources or $99/month for 7. See the pricing page.
Do you have helpful links to get started with Facebook Public and Python?
Yes. These are the resources to start with for the Facebook Public to Python integration:
Tired of manual Facebook Public data exports? Try Windsor.ai today to work on live data

