Actions21
- Message Actions
- Page Actions
- User Actions
- Group Actions
- Comment Actions
- Facebook Id Actions
- Media Actions
- Test Proxy Actions
Overview
This node retrieves posts made by a specific Facebook user. It is useful for scenarios where you want to gather and analyze content posted by a user on Facebook, such as monitoring social media activity, aggregating user-generated content, or performing sentiment analysis on posts. For example, a marketing team might use this node to collect posts from a brand ambassador's Facebook profile to evaluate engagement and reach.
Use Case Examples
- Fetch all posts from a Facebook user by providing their user ID.
- Retrieve paginated posts from a user to process them in batches.
Properties
| Name | Meaning |
|---|---|
| User Id | The unique identifier of the Facebook user whose posts are to be retrieved. This is a required input for the operation. |
| Next | A string token used for pagination to fetch the next set of posts if available. This is optional and used when retrieving posts in multiple pages. |
| notice | A notice field providing information and recommendations about running the node locally or on a VPS in the same country as the Facebook account IP to avoid checkpoint issues. It also includes links to support groups and tutorials. |
Output
JSON
userInfoid- The Facebook user ID.name- The name of the Facebook user.
posts- An array of posts made by the user, including post details such as content, creation time, and post ID.
Dependencies
- Requires an API key credential for Facebook access and uses external libraries for HTTP requests and WebSocket communication.
Troubleshooting
- Ensure the Facebook session is valid and the API key credential is correctly configured.
- Run the node locally or on a VPS located in the same country as the Facebook account IP to avoid checkpoint issues.
- Check that the user ID provided is correct and the user has granted necessary permissions for post retrieval.
- Handle pagination properly by using the 'Next' token to fetch additional posts if available.
- Common errors include authentication failures, permission errors, and rate limiting by Facebook API. Verify credentials and API limits to resolve these issues.
Links
- Facebook Graph API - User Feed - Official documentation for retrieving user posts via Facebook Graph API.
- Using cUrl & WebSocket Extension - Guide on using cUrl and WebSocket extension for Facebook session management.
- AI30DAY Zalo Group - Support group for assistance with the node.
- AI30DAY YouTube Channel - Tutorial videos related to the node and Facebook integration.