GNU/Weeb Mailing List <[email protected]>
 help / color / mirror / Atom feed
* Introducing Facebook Scraper API (with Tor network support)
@ 2023-05-03 12:37 Ammar Faizi
  0 siblings, 0 replies; only message in thread
From: Ammar Faizi @ 2023-05-03 12:37 UTC (permalink / raw)
  To: GNU/Weeb Mailing List; +Cc: GNU/Weeb FB Team, Michael William Jonathan

We are open-sourcing a new project: Facebook Scraper API with Tor
network support. It's fully written in PHP (yeah PHP, feel free to argue
PHP is dead: it's not!). Currently, it can only scrape text and photo
posts. I'll be adding the video support in the near future. Many
features will come soon.

This project is licensed under the GPLv2 license, which is my default
open-source license choice.

Comments and patches, welcome...

Patches and any inquiry about this project should be directed to:

To: Ammar Faizi <[email protected]>
Cc: Michael William Jonathan <[email protected]>
Cc: GNU/Weeb Mailing List <[email protected]>
Cc: GNU/Weeb FB Team <[email protected]>

The following changes since commit 75065abdba76e40f102041b70c2edaf4bf902259:

  fb: Initial commit (2023-05-01 00:48:36 +0700)

are available in the Git repository at: master

for you to fetch changes up to 0d5e59e00359e165778a81f80122bb522f8edb0f:

  Merge branch 'rewrite_url' (Facebook Onion rewrite support) (2023-05-03 18:46:47 +0700)

Ammar Faizi (33):
      fb: Create the initial 'Post' trait (getTimelineYears)
      fb: Create user cache mechanism
      fb: Post: Handle a 'get timeline years' edge case
      fb: Post: Create getTimelinePosts method
      fb: Post: Make getTimelineYears() more reliable
      fb: Post: Implement getPost() function
      fb: web: Create initial web API
      fb: Post: Handle not found in getTimelineYears()
      fb: Post: Fix stupid indentation
      fb: web: Add getPost() endpoint
      fb: helpers: Replace '</p>' with double lines instead of single line
      fb: web: Create 'logs' directory for web server logs
      fb: composer.json: Remove phpunit from require-dev
      fb: Use CURLPROXY_SOCKS5_HOSTNAME as proxy type
      fb: helpers: Trim the end result of full_html_clean()
      fb: Post: Split parsing logic in getPost()
      fb: Post: Split info parser
      fb: Post: Implement tryParsePhotoPost()
      fb: Post: Introduce `$take_content` argument in `getTimelinePosts()`
      fb: Post: Introduce `$limit` argument in `getTimelinePosts()`
      fb: web: Invert the getTimelinePosts() condition
      fb: web: Integrate `$take_content` and `$limit` args
      fb: Post: Switch `content` and `info` key position
      fb: Post: Parse the embedded link in a post
      fb: web: Create `httpGet()` API for visiting FB onion endpoints
      fb: Post: Introduce rewrite URL callback
      fb: web: Provide a proxy to access onion endpoints
      fb: Post: Call cleanURL() on the img_preview URL
      fb: web: Fix `is_compressed` value
      fb: web: Supress gzinflate error
      fb: web: Don't rewrite non Facebook onion URL
      Merge branch 'post' (initial FB post scraper API)
      Merge branch 'rewrite_url' (Facebook Onion rewrite support)

 auth.example.php              |   2 +
 composer.json                 |   3 -
 main.php                      |  45 +++++
 src/Facebook/Facebook.php     |  93 ++++++++-
 src/Facebook/Methods/Post.php | 422 ++++++++++++++++++++++++++++++++++++++++
 src/Facebook/helpers.php      |  54 +++++
 web/.gitignore                |   1 +
 web/logs/.gitignore           |   2 +
 web/public/api.php            | 268 +++++++++++++++++++++++++
 9 files changed, 885 insertions(+), 5 deletions(-)
 create mode 100644 src/Facebook/Methods/Post.php
 create mode 100644 web/.gitignore
 create mode 100644 web/logs/.gitignore
 create mode 100644 web/public/api.php

Ammar Faizi

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-03 12:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-03 12:37 Introducing Facebook Scraper API (with Tor network support) Ammar Faizi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox