您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Collect Facebook group posts data with selection interface and export to localhost API
A userscript for collecting Facebook group posts data with an intuitive selection interface. This tool allows you to extract and export Facebook group posts along with their images to a local API endpoint.
Facebook group post with selection checkbox overlay
Post selection dialog with image management
Install a userscript manager:
Install the userscript by clicking on greasyfork-release/fb-group-post-export.user.js
and copying the content to your userscript manager.
http://localhost:8080
with the following endpoints:
POST /fetch_post
- Receives post dataPOST /upload
- Receives image uploadsPOST /fetch_post
{
"posts": [
{
"post_id": "123456789",
"post_url": "https://www.facebook.com/groups/123/posts/456",
"post_content": "The full text content of the post..."
}
],
"timestamp": "2025-01-28T12:00:00.000Z",
"source": "facebook-group-post-collector",
"version": "v1.0"
}
POST /upload (multipart/form-data)
listing_id
: The submission ID from the fetch_post responsefile
: Image blob with appropriate filenameNavigate to any Facebook group page (e.g., https://www.facebook.com/groups/[GROUP_ID]
)
The userscript will automatically:
Select posts by clicking the checkboxes (posts are numbered for easy reference)
Click "Collect Posts" to:
In the selection dialog:
"Cannot connect to localhost:8080"
/fetch_post
and /upload
are availablePosts not detected
Content expansion not working
The script includes debug menu commands accessible through your userscript manager:
MIT License - See LICENSE file for details.