Facebook Photos API
List the photos a Facebook profile or Page posted, in the order its Photos tab shows them, with each photo's link, full size image URL, dimensions and description. Page through the list with `cursor`.
- Endpoint
- POST /facebook/get-profile-photos
- Price
- 1 credit per request
- SDK
- client.facebook.getProfilePhotos()
- MCP tool
- facebook_get_profile_photos
curl -X POST "https://api.bridgly.app/facebook/get-profile-photos" \ -H "Authorization: Bearer $BRIDGLY_KEY" \ -H "Content-Type: application/json" \ -d '{ "profile": "NASA", "count": 8}'import osimport requestsresponse = requests.post( "https://api.bridgly.app/facebook/get-profile-photos", headers={"Authorization": f"Bearer {os.environ['BRIDGLY_KEY']}"}, json={ "profile": "NASA", "count": 8, },)data = response.json()const response = await fetch("https://api.bridgly.app/facebook/get-profile-photos", { method: "POST", headers: { Authorization: `Bearer ${process.env.BRIDGLY_KEY}`, "Content-Type": "application/json", }, body: JSON.stringify({ "profile": "NASA", "count": 8 }),});const data = await response.json();import { Bridgly } from "@bridgly/sdk";const client = new Bridgly({ apiKey: "bgly_YOUR_KEY" });const res = await client.facebook.getProfilePhotos({ profile: "NASA", count: 8});if (res.type === "success") { console.log(res.data);}What does the Facebook Photos API return?
List the photos a Facebook profile or Page posted, as JSON: full size image URL, dimensions, photo link and the image description, page after page. Every response has the same envelope: the result in data, plus timeMs and the creditsCost of the call.
Request body
cursorstring- The previous response's `nextCursor`, to fetch the next page. Omit it for the first page.
profilestringrequired- The profile or Page: its link, username or numeric ID, e.g. "https://www.facebook.com/NASA", "NASA" or "100044561550831".
countinteger · 1–8 · default 8- Number of results to return (1–8). Defaults to 8.
cacheMaxAgeHoursinteger- Accept a cached result up to this many hours old, at no cost; its `cachedAt` says when it was fetched. Without one that recent, fresh data is fetched at the normal price. Leave it out to always get fresh data, e.g. 24.
cacheOnlyboolean- Return only a cached result, never fresh data. With `cacheMaxAgeHours`, only one that recent; without it, the latest of any age. Responds 404, at no cost, when there is none, e.g. true.
Example response
{ "timeMs": 1840, "creditsCost": 1, "cachedAt": "2026-01-15T09:30:00.000Z", "data": { "nextCursor": "string", "photos": [ { "id": "string", "url": "string", "imageUrl": "string", "width": 0, "height": 0, "altText": "string" } ] }}What can you build with the Facebook Photos API?
Build image datasets
Collect a brand’s published images with their descriptions.
Audit visual content
Review what a Page has published over time.
Moderate
Feed published images into your own review or classification pipeline.
Facebook Photos API questions
What is altText?
The description of the image, written by its owner or generated by Facebook, useful for search and accessibility.
How do I use the Facebook Photos API?
Send a POST request to https://api.bridgly.app/facebook/get-profile-photos with profile in the JSON body and your API key in the Authorization header. In the TypeScript SDK, call client.facebook.getProfilePhotos(). AI agents connected to Bridgly over MCP can call the facebook_get_profile_photos tool.
How much does the Facebook Photos API cost?
Costs 1 credit per request. Credits cost $2.00 per 1,000 on pay-as-you-go and as low as $1.67 per 1,000 at volume. New accounts on a business email start with 100 free credits, and failed requests are never charged.
More Facebook endpoints
The same API key works on every endpoint. See all Facebook Scraper API endpoints.
- Facebook Reels API→List the reels of a Facebook profile or Page as JSON: caption, video file, thumbnail, duration, play count, reactions, comments and shares for each reel.
- Facebook About API→Get every section of a Facebook profile or Page About tab as JSON: work, education, places, contact info, links, category and personal details.
- Facebook Mentions API→List the public posts that mention a Facebook Page as JSON: text, author, date, media, reactions, comment and share counts.
- Facebook Page Events API→List the upcoming or past events a Facebook Page or profile hosts as JSON: name, date, venue, city, cover image and canceled state.
Try the Facebook Photos API
100 free credits on business email, no card. Your first call takes a minute.