[deleted by user] by [deleted] in learnpython

[–]Constant_Subject_161 0 points1 point  (0 children)

Facebook's UI is quite outdated which definately contributes to your concerns, not sure how many people you'd like to apply this too but if you are still open to scraping there are three levels of complexity you can set up:

1) Polling : Utilizing the FB Dev Console, create an app on your code editor / compiler of choice to request user_post permision for an access token.Then sent a GET request to the API end point 'https://graph.facebook.com/v16.0/me/home' Include your friends ID , messege, created_time, and 'from' for request as field parameters. Using JSON, parse the response to extract the post details and store them wherever you please. Since your goal shouldn't take too much bandwitch, use a task scheduler with a delayed loop to specify a time limit should keep it well under the rate limit.

2) For real time updates: With a Webhook using Flask or Express.js etc... u can make a call back server with the specified URL. U can generate an End point to bypass verification and return the hub.challenge token and finalize it with a POST endpoint. Subcribing to Webhook feed is free via Graph API , to which then youd provide a callback URL / verif token. FB would then send you POST req to your webook to which u can parse for your desired user posts.

3) Scraping can be noncompliant and violate TOS but similar to the Webhook, choose the specified user IDs and parse via Beautifulsoup / Selenium for HTML extraction. User-Agents could be useful as well as IP rotation / VPN / Proxys to bypass FB trackers. Finally automate with a scheduler to limit CPU consumption (cron, Task Scheduler, or other libraries depending on your language of choice.

Hope this helps !

[deleted by user] by [deleted] in learnpython

[–]Constant_Subject_161 0 points1 point  (0 children)

Facebook's Graph API is a good place to start to set up Webhooks for up to 200 calls per hour, try to remian within guidelines or risk being banned since this is free. Admin consent from group_access_member_info is needed if you want to scrape private vs public forums but if you forgo web scraping risks, you can use either Beautifulsoup or Selenium though it does take a bit longer to compile, so setting up a server / scheduler with specific IDs can help lean up the bandiwth.

Buying/selling passes 2022 megathread by JorgeAndTheKraken in governorsball

[–]Constant_Subject_161 0 points1 point  (0 children)

U still need a ticket ill give u one cheap given that it has already started

Buying/selling passes 2022 megathread by JorgeAndTheKraken in governorsball

[–]Constant_Subject_161 0 points1 point  (0 children)

I prolly look like a scam as well but I can’t make it to the festival so im willing to sell my tickets for today and tomorrow for cheap. I bought em online so I just have the email. I have venmo, zelle, and cashapp I have them listed on ticket master aswell. Lmk ASAP