[{"details":{"post_id":"10116700062692291","post_link":"https://www.facebook.com/zuck/posts/pfbid02VwHG9GcmEWgttDr9BfHuhHH2f2mh98pP6B957SqCEjpLpKFzw1VtXFd4uTwPmKW5l","share_count":"14K","play_count":null,"comments_count":"132482"},"reactions":{"total_reaction_count":795456,"Angry":309},"values":{"text":"Enjoy heaven, little guy 💔\"","post_id":"10116700062692291","story_id":"UzpfSTQ6MTAxMTY3MDAwNjI2OTIyOTE6MTAxMTY3MDAwNjI2OTIyOTE=","share_count":"14K","ocr_text":"May be an image of dog","is_media":"Photo","photo_image":"{\"uri\":\"https://scontent-lga3-2.xx.fbcdn.net/v/t39.30808-6/514316362_10116700062572531_1207776296902843228_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=127cfc&_nc_ohc=GVFu66fvdOUQ7kNvwE4a-aj&_nc_oc=Adlle5Y-xNQslMtY-Q0YZo8y-_jNempQstH3CSMsL3VBctM9TBDDp6rzYku_LZWf0y0&_nc_zt=23&_nc_ht=scontent-lga3-2.xx&_nc_gid=hsJMX6L6-a45EFKd5DfIGg&oh=00_AfQUG1v_sUvYjb-S1yB98UuS-ieW0onYfFb2z1lDAseUwg&oe=687B4012\",\"height\":810,\"width\":1080}","photo_product_tags":null,"publish_time":"2025-06-29T23:34:24Z","shared_post":1,"shared_post_details":{"id":"4","name":"Mark Zuckerberg","profile_url":"https://www.facebook.com/zuck","profile_picture_url":"https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-1/461204377_10115852257979731_20136418769041878_n.jpg?stp=c180.30.1429.1428a_cp0_dst-jpg_s80x80_tt6&_nc_cat=1&ccb=1-7&_nc_sid=1d2534&_nc_ohc=Ckt5V_1ZIoEQ7kNvwGd27G-&_nc_oc=Adn-WzBoSoGeE4kB5DuOceOiZZ3eUVNV6wAF8XrYMtcfX1EU34w5Ut2yQtdKVmLepOw&_nc_zt=24&_nc_ht=scontent-lga3-3.xx&_nc_gid=hsJMX6L6-a45EFKd5DfIGg&oh=00_AfSzSyKSl4RpNzH12nYyfqv5klw1nVN83DtM3Nyu5M1a2g&oe=687B4570","profile_picture_dimensions":{"width":80,"height":80,"scale":2},"story_bucket":[{"id":"1461420177232682","first_story_to_show_id":null,"is_seen_by_viewer":null}],"is_additional_profile_plus":false}},"user_details":{"id":"4","name":"Mark Zuckerberg","profile_url":"https://www.facebook.com/zuck","profile_picture_url":"https://scontent-lga3-3.xx.fbcdn.net/v/t39.30808-1/461204377_10115852257979731_20136418769041878_n.jpg?stp=c180.30.1429.1428a_cp0_dst-jpg_s80x80_tt6&_nc_cat=1&ccb=1-7&_nc_sid=1d2534&_nc_ohc=Ckt5V_1ZIoEQ7kNvwGd27G-&_nc_oc=Adn-WzBoSoGeE4kB5DuOceOiZZ3eUVNV6wAF8XrYMtcfX1EU34w5Ut2yQtdKVmLepOw&_nc_zt=24&_nc_ht=scontent-lga3-3.xx&_nc_gid=hsJMX6L6-a45EFKd5DfIGg&oh=00_AfSzSyKSl4RpNzH12nYyfqv5klw1nVN83DtM3Nyu5M1a2g&oe=687B4570","profile_picture_dimensions":{"width":80,"height":80,"scale":2},"story_bucket":[{"id":"1461420177232682","first_story_to_show_id":null,"is_seen_by_viewer":null}],"is_additional_profile_plus":false},"attachments":[{"__typename":"Photo","photo_image":{"uri":"https://scontent-lga3-2.xx.fbcdn.net/v/t39.30808-6/514316362_10116700062572531_1207776296902843228_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=127cfc&_nc_ohc=GVFu66fvdOUQ7kNvwE4a-aj&_nc_oc=Adlle5Y-xNQslMtY-Q0YZo8y-_jNempQstH3CSMsL3VBctM9TBDDp6rzYku_LZWf0y0&_nc_zt=23&_nc_ht=scontent-lga3-2.xx&_nc_gid=hsJMX6L6-a45EFKd5DfIGg&oh=00_AfQUG1v_sUvYjb-S1yB98UuS-ieW0onYfFb2z1lDAseUwg&oe=687B4012","height":810,"width":1080},"__isMedia":"Photo","accent_color":"FF68584B","viewer_image":{"height":810,"width":1080},"photo_product_tags":[],"focus":{"x":0.5,"y":0.33},"accessibility_caption":"May be an image of dog","url":"https://www.facebook.com/photo/?fbid=10116700062552571&set=a.612287952871","id":"10116700062552571","__isNode":"Photo","comet_product_tag_feed_overlay_renderer":null,"comet_product_tag_dot_hint_renderer":null,"creation_story":{"target_group":null,"id":"UzpfSTQ6MTAxMTY3MDAwNjI2OTIyOTE6MTAxMTY3MDAwNjI2OTIyOTE="}}],"top_comments":[],"attached_post":null}]
curl --location --request GET 'https://zylalabs.com/api/8576/retrieve+facebook+posts+api/15022/post+details?link=https://www.facebook.com/photo/?fbid=10116700062552571&set=pb.4.-2207520000&locale=es_LA' --header 'Authorization: Bearer YOUR_API_KEY'
After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the Retrieve Facebook Posts API simply include your bearer token in the Authorization header.
| Header | Description |
|---|---|
Authorization
|
Required
Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.
|
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
(Save 2 months with annual billing 🎉)
The Retrieve Facebook Posts API allows you to retrieve complete and structured information from any public Facebook post using only its URL or post ID. This powerful tool is ideal for social media analysts, dashboard developers, trend researchers, and monitoring platforms that need quick access to key metrics and visual content from posts without relying on account access or complex tokens.
By entering a valid URL, the API returns data such as the post text, total number of reactions (broken down by type such as Love, Wow, Care, Haha, etc.), comment count, number of shares, and details of the associated media (image, video, link). It also provides information about the profile that posted the content, including name, ID, profile URL, profile image, and verification details.
In addition to basic data, this API captures whether the post is original or shared, provides details of the original post if applicable, and includes OCR of visual content if detected, thus offering an additional layer of context. For posts with images, the API provides the direct URL, image dimensions, and accessibility data (such as descriptions or captions).
Be
The API returns detailed information from a Facebook post, including post text, total reactions (by type), comment count, share count, media details (images, videos, links), and profile information of the poster.
Key fields in the response include post text, reactions (Love, Wow, Care, Haha, etc.), comment count, share count, media URLs, profile name, profile ID, and verification status.
The response data is structured in JSON format, with nested objects for reactions, media, and profile details, allowing easy access to specific information about the post and its engagement metrics.
The endpoint provides information on post content, engagement metrics (reactions, comments, shares), media details (URLs, dimensions), and profile information, including verification status and original post details if applicable.
Users can customize requests by specifying the post URL or ID in the endpoint parameter, allowing for targeted data retrieval from specific posts without needing additional filters.
Typical use cases include social media analysis, trend research, content monitoring, and dashboard development, where users need quick access to engagement metrics and visual content from Facebook posts.
Data accuracy is maintained by directly extracting information from public Facebook posts, ensuring that the data reflects the current state of the post as displayed on the platform.
Users can expect consistent data patterns, such as structured engagement metrics (total reactions, comments, shares) and media details, which facilitate comparative analysis across different posts.
To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.
You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.
The free trial lasts for 7 days and allows you to make up to 50 API requests.
No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.
Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
You can monitor your API usage through the response headers included with every request:
x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.
Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.
Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund