The Facebook Post Analytics API offers a robust and efficient solution for accessing detailed information about specific posts on Facebook. By simply providing a post ID, this API returns a complete set of data related to that post, facilitating its integration into applications, websites, or analytics systems.
Among the data provided by the API are details about the author of the post, such as their name and unique identifier, allowing the post to be recognized and associated with its original creator. Additionally, the API returns the exact date and time the post was created, which is crucial for applications that require precise temporal information for analysis or visualization.
To use this endpoint, you must specify the ID of a post in the parameter.
Note: The ID of a post is the numbers found in the URL https://www.facebook.com/photo/?fbid=10116513907568651
{"id":"10116513907568651","created_time":"2025-04-27T18:58:08+0000","from":{"name":"Mark Zuckerberg","id":"4"},"height":1906,"icon":"https:\/\/static.xx.fbcdn.net\/rsrc.php\/v4\/yz\/r\/StEh3RhPvjk.gif","images":[{"height":1906,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMVSqhxz62ghP_C9opScuisCE8Lafb2_hGt5slljuw6fA&oe=6857D82C","width":1387},{"height":1319,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p960x960_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMB7KjgdTBWVnWVhTp5ous66OVplyeY_zNWh8NsOogHQg&oe=6857D82C","width":960},{"height":989,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p720x720_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMu78rbsvD6kL2RHDn34x2GdJbHpclz6tGoIt3pcITnpA&oe=6857D82C","width":720},{"height":825,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p600x600_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfNpFiUeCS9pkowIzNQ5mSVH4NkE8aqqXLyhDmiF5RGX7w&oe=6857D82C","width":600},{"height":660,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p480x480_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfPF7NaQILkdZA4QsvAhk0CijpzOtNxPxOVNXqamEZhXAg&oe=6857D82C","width":480},{"height":440,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p320x320_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfPz7XwI6EKLsd0HSvqJA-AURC1_Vv0IZjWELFL-31Eong&oe=6857D82C","width":320},{"height":540,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p180x540_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfOLeIwisjG0GUSwM4J9mL_cASofQetg6A892rqisaawnA&oe=6857D82C","width":393},{"height":179,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p130x130_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMYKAJWCyPzC1KuMRQv74CETvsRStKtaGosHM_i5_RX4Q&oe=6857D82C","width":130},{"height":225,"source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_p75x225_tt6&_nc_cat=103&ccb=1-7&_nc_sid=e21142&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfOGl3Fx_sM6PsVaNHbnYRXw4Tg2vUmgsssivzUJrvrgag&oe=6857D82C","width":164}],"link":"https:\/\/www.facebook.com\/photo.php?fbid=10116513907568651&set=a.529237706231&type=3","name":"Annual 5k run with Guerrilla fight crew. Finished a bit above 20 mins. Proud of the team! \ud83d\udcaa","picture":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?stp=dst-jpg_s130x130_tt6&_nc_cat=103&ccb=1-7&_nc_sid=face19&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfOhP6uq-pFzD3RG_AyXqhd4KvxtghXBMn0DvEsMkKv7RA&oe=6857D82C","source":"https:\/\/scontent-sin2-2.xx.fbcdn.net\/v\/t39.30808-6\/492552657_10116513907573641_291110498214921611_n.jpg?_nc_cat=103&ccb=1-7&_nc_sid=face19&_nc_ohc=Bm-TTUiTZ6sQ7kNvwGKYlAF&_nc_oc=Adni82dPR4UNHZCpbLWVc8GMdZk3GsBksy95XaxsjMdnvbkbzu4zcp_An0LkEvvSfrJECBf6ddv2Z-SkPVgf3-2K&_nc_ad=z-m&_nc_cid=0&_nc_zt=23&_nc_ht=scontent-sin2-2.xx&_nc_gid=OikK7MER1T0beFWFxBN5-w&oh=00_AfMVSqhxz62ghP_C9opScuisCE8Lafb2_hGt5slljuw6fA&oe=6857D82C","updated_time":"2025-04-27T19:24:48+0000","width":1387,"comments":{"data":[{"created_time":"2025-04-27T20:12:30+0000","from":{"name":"Rahat360","category":"Digital creator","category_list":[{"id":"2347428775505624","name":"Digital creator"}],"id":"338612825999389"},"message":"Fitness goal: Be able to run 5K with a Guerrilla crew and still have enough breath to brag about it. \ud83e\udd23","can_remove":false,"like_count":154,"user_likes":false,"id":"10116513907628531_9521488127947102"},{"created_time":"2025-04-27T19:34:59+0000","from":{"name":"Zahid Ullah Safi","id":"100000574452390"},"message":"For the moment I thought you were in red..","can_remove":false,"like_count":116,"user_likes":false,"id":"10116513907628531_2312277005834087"},{"created_time":"2025-04-28T04:49:05+0000","from":{"name":"Damian Yeo","id":"604595478"},"message":"Sweet timing and also Vaporflys! \ud83d\udcaa","can_remove":false,"like_count":42,"user_likes":false,"id":"10116513907628531_1635900717275329"},{"created_time":"2025-04-27T19:06:40+0000","from":{"name":"Nick Nizinski","id":"1109294722"},"message":"Mark you and I both have been skipping leg day and I\u2019m calling both of us out on it","can_remove":false,"like_count":145,"user_likes":false,"id":"10116513907628531_1247232646813558"},{"created_time":"2025-04-27T19:20:25+0000","from":{"name":"Lance Joseph Richardson Senior","id":"505334667"},"message":"Mark got the Guy Fieri\u2019s on","can_remove":false,"like_count":681,"user_likes":false,"id":"10116513907628531_1201242627806956"},{"created_time":"2025-04-28T03:47:25+0000","from":{"name":"Janelle Gale","id":"1051448323"},"message":"And 1 year post ACL replacement. impressive! #goals","can_remove":false,"like_count":36,"message_tags":[{"id":"255233164612797","length":6,"name":"#goals","offset":45}],"user_likes":false,"id":"10116513907628531_1031080598479734"},{"created_time":"2025-04-28T03:29:28+0000","from":{"name":"Mike Sego","id":"207440"},"message":"This was so fun! I\u2019m also now convinced that MMA skills are much more transferable to running than running skills are transferable to MMA \ud83d\ude1d","can_remove":false,"like_count":116,"user_likes":false,"id":"10116513907628531_712120661484239"},{"created_time":"2025-04-27T19:34:33+0000","from":{"name":"Santosh Janardhan","id":"553742182"},"message":"That\u2019s ~6.5 min\/mile pace ! Road run or Track ? Thats fast.","can_remove":false,"like_count":429,"user_likes":false,"id":"10116513907628531_646779091593844"},{"created_time":"2025-04-27T19:44:08+0000","from":{"name":"Ted Walford","id":"1845635150"},"message":"Okay, Mark wins the prize for the wildest shoes!","can_remove":false,"like_count":464,"user_likes":false,"id":"10116513907628531_619033701134357"},{"created_time":"2025-04-27T19:03:46+0000","from":{"name":"Charity Onyinyechi Nzeakor","id":"719418439"},"message":"Congratulations but pity us on this monetization school \ud83d\ude02\ud83d\ude02\ud83d\ude02","can_remove":false,"like_count":116,"user_likes":false,"id":"10116513907628531_1322524448826110"},{"created_time":"2025-04-27T19:02:57+0000","from":{"name":"Jon Nel","id":"100000049973249"},"message":"Arbor medal Mark. pa lalamove mo na lang.","can_remove":false,"like_count":154,"user_likes":false,"id":"10116513907628531_2199592730500633"},{"created_time":"2025-04-27T19:02:29+0000","from":{"name":"Faquiry Diaz","id":"624454"},"message":"Dude those kicks are \ud83d\udd25More Joe Green than you :)","can_remove":false,"like_count":143,"message_tags":[{"id":"42","length":9,"name":"Joe Green","offset":27,"type":"user"}],"user_likes":false,"id":"10116513907628531_9636057976481889"},{"created_time":"2025-04-28T13:46:44+0000","from":{"name":"Chris Corbo","id":"100005569779158"},"message":"The man in red looks a little like Bill Walton the basketball player ! \ud83c\udfc0","can_remove":false,"like_count":95,"user_likes":false,"id":"10116513907628531_24218499897751052"},{"created_time":"2025-04-27T19:03:00+0000","from":{"name":"RehMat Laal Adv","id":"100027052117252"},"message":"Getting ready to run from who? \ud83d\ude11","can_remove":false,"like_count":58,"user_likes":false,"id":"10116513907628531_659619910268254"},{"created_time":"2025-04-27T19:02:28+0000","from":{"name":"Celal C\u00fcneyt \u0130\u015fg\u00f6r","id":"623503429"}}]},"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/7438/facebook+post+analytics+api/11861/post+information&post_id=Required' --header 'Authorization: Bearer YOUR_API_KEY'
| 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.
The API returns detailed information about a specific Facebook post, including the author's name and ID, post creation date and time, number of likes, comments, images, and links associated with the post.
Key fields in the response include `author_name`, `author_id`, `post_date`, `likes_count`, `comments_count`, `images`, and `links`. These fields provide essential insights into the post's engagement and content.
The response data is structured in a JSON format, with each key representing a specific attribute of the post. For example, the `author` object contains `author_name` and `author_id`, while engagement metrics are grouped under `likes_count` and `comments_count`.
The endpoint provides information about the post's author, creation date, engagement metrics (likes and comments), and media content (images and links). This comprehensive data supports various analytical needs.
Users can customize their requests by specifying the post ID in the API call. This allows for targeted retrieval of data for specific posts, enabling focused analysis and integration into applications.
Typical use cases include social media analytics, content performance tracking, engagement analysis, and integration into marketing dashboards. The data helps businesses understand audience interaction with their posts.
Data accuracy is maintained through direct access to Facebook's platform, ensuring that the information retrieved reflects the most current and reliable data available for each post.
If the API returns partial or empty results, users should check the post ID for accuracy and ensure the post is publicly accessible. Implementing error handling in the application can also help manage such scenarios effectively.
To obtain your API key, you first need to sign in to your account and subscribe to the API you want to use. Once subscribed, go to your Profile, open the Subscription section, and select the specific API. Your API key will be available there and can be used 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.
If you don’t cancel before the 7th day, your free trial will end automatically and your subscription will switch to a paid plan under the same plan you originally subscribed to, meaning you will be charged and gain access to the API calls included in that plan.
The free trial ends when you reach 50 API requests or after 7 days, whichever comes first.
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, we offer a 7-day free trial that allows you to make up to 50 API calls at no cost, so you can test our APIs without any commitment.
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.
Please have a look at our Refund Policy: https://zylalabs.com/terms#refund
Service Level:
100%
Response Time:
3,309ms
Service Level:
100%
Response Time:
3,230ms
Service Level:
100%
Response Time:
2,155ms
Service Level:
100%
Response Time:
1,831ms
Service Level:
100%
Response Time:
2,443ms
Service Level:
100%
Response Time:
1,604ms
Service Level:
100%
Response Time:
2,892ms
Service Level:
100%
Response Time:
5,087ms
Service Level:
100%
Response Time:
527ms
Service Level:
100%
Response Time:
2,618ms
Service Level:
100%
Response Time:
256ms
Service Level:
100%
Response Time:
607ms
Service Level:
100%
Response Time:
209ms
Service Level:
100%
Response Time:
182ms
Service Level:
100%
Response Time:
169ms
Service Level:
100%
Response Time:
603ms
Service Level:
100%
Response Time:
482ms
Service Level:
100%
Response Time:
202ms
Service Level:
100%
Response Time:
460ms
Service Level:
100%
Response Time:
1,593ms