List Facebook profile photos
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/profiles/photos \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/profiles/photos"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/facebook/profiles/photos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/facebook/profiles/photos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/facebook/profiles/photos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/facebook/profiles/photos")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/profiles/photos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"lookupStatus": "found",
"page": {
"hasMore": true,
"nextCursor": "eyJjIjoiQVFIU1E3VGc0bjZfS2h0a1hYZi1aSWQ0YU5XOUdiZjFrNy1ObU80UmxRMm5CRDZGVnJ2SHZoeEQxVVhvdFlDRWJBV2RJNGRBeG5CcGtVdFlXTFNWRmdEcGtRIiwibiI6IllYQndYMk52Ykd4bFkzUnBiMjQ2Y0daaWFXUXdOVXRuWTNob2RXdFVRWHBXVEdOalZYWTNVa051Y1VOTlVGRktOMmRHVXpkeVZ6RlV…"
},
"photos": [
{
"accessibilityCaption": "May be an image of baby and smiling",
"dimensions": {
"height": 2144,
"width": 1608
},
"id": "YXBwX2l0ZW06MTAwMDAxMDIyNDg2ODIzOjIzMDUyNzI3MzI6NTo6MjcwMjExODc1MTQxNjUyOTk=",
"imageUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/683651127_18593920150007483_2994407465256079927_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=127cfc&_nc_ohc=XL39rEmPYAoQ7kNvwFuWBUD&_nc_oc=AdrEnfZPkf6zDrx7qWv8WCSvllv47ovYDzX0W0Fj8dXbR9auixBj3BxjsX-…",
"photoId": "27021187514165299",
"thumbnailUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/683651127_18593920150007483_2994407465256079927_n.jpg?stp=c0.177.1608.1608a_dst-jpg_s206x206_tt6&_nc_cat=100&ccb=1-7&_nc_sid=714c7a&_nc_ohc=XL39rEmPYAoQ7kNvwFuWBUD&_nc_oc=AdrEnfZPkf6zDrx7…",
"url": "https://www.facebook.com/photo.php?fbid=27021187514165299&set=pb.100001022486823.-2207520000&type=3"
},
{
"accessibilityCaption": "May be an image of baby, smiling and bedroom",
"dimensions": {
"height": 1920,
"width": 1440
},
"id": "YXBwX2l0ZW06MTAwMDAxMDIyNDg2ODIzOjIzMDUyNzI3MzI6NTo6MjY4NTQ5NTI4ODQxMjIwOTc=",
"imageUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/669974469_18590336158007483_8993244519859741198_n.jpg?stp=dst-jpegr_tt6&_nc_cat=103&ccb=1-7&_nc_sid=127cfc&_nc_ohc=KOQlfFPj2FUQ7kNvwHWZTAk&_nc_oc=AdoU2ha9x2opn8AWuavxeO3AvOgNfRfKx9Ke8BwVo…",
"photoId": "26854952884122097",
"thumbnailUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/669974469_18590336158007483_8993244519859741198_n.jpg?stp=c0.158.1440.1440a_dst-jpegr_s206x206_tt6&_nc_cat=103&ccb=1-7&_nc_sid=714c7a&_nc_ohc=KOQlfFPj2FUQ7kNvwHWZTAk&_nc_oc=AdoU2ha9x2opn8…",
"url": "https://www.facebook.com/photo.php?fbid=26854952884122097&set=pb.100001022486823.-2207520000&type=3"
},
{
"accessibilityCaption": "May be an image of baby",
"dimensions": {
"height": 1920,
"width": 1440
},
"id": "YXBwX2l0ZW06MTAwMDAxMDIyNDg2ODIzOjIzMDUyNzI3MzI6NTo6MjY4NTQ5NTI4ODA3ODg3NjQ=",
"imageUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/670392720_18590336167007483_1605318333331208924_n.jpg?stp=dst-jpegr_tt6&_nc_cat=107&ccb=1-7&_nc_sid=127cfc&_nc_ohc=4Kf_IXTEuawQ7kNvwEPCQHj&_nc_oc=AdqCZkzddSDR5GfX07VRDaDG7o6RBM6gXGioOQQHf…",
"photoId": "26854952880788764",
"thumbnailUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/670392720_18590336167007483_1605318333331208924_n.jpg?stp=c0.158.1440.1440a_dst-jpegr_s206x206_tt6&_nc_cat=107&ccb=1-7&_nc_sid=714c7a&_nc_ohc=4Kf_IXTEuawQ7kNvwEPCQHj&_nc_oc=AdqCZkzddSDR5G…",
"url": "https://www.facebook.com/photo.php?fbid=26854952880788764&set=pb.100001022486823.-2207520000&type=3"
}
]
},
"meta": {
"creditsCharged": 1,
"requestId": "req_9d880cf0-0be8-43de-bc1c-4f0aa8c28580",
"version": "v1"
}
}Facebook
List Facebook profile photos
Lists photos from a Facebook profile or Page. Required input: url. Results are paged: while data.page.hasMore is true, send data.page.nextCursor as cursor to get the next page.
GET
https://api.aisa.one
/
apis
/
v1
/
facebook
/
profiles
/
photos
List Facebook profile photos
curl --request GET \
--url https://api.aisa.one/apis/v1/facebook/profiles/photos \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/facebook/profiles/photos"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/facebook/profiles/photos', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/facebook/profiles/photos",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/facebook/profiles/photos"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/facebook/profiles/photos")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/facebook/profiles/photos")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"data": {
"lookupStatus": "found",
"page": {
"hasMore": true,
"nextCursor": "eyJjIjoiQVFIU1E3VGc0bjZfS2h0a1hYZi1aSWQ0YU5XOUdiZjFrNy1ObU80UmxRMm5CRDZGVnJ2SHZoeEQxVVhvdFlDRWJBV2RJNGRBeG5CcGtVdFlXTFNWRmdEcGtRIiwibiI6IllYQndYMk52Ykd4bFkzUnBiMjQ2Y0daaWFXUXdOVXRuWTNob2RXdFVRWHBXVEdOalZYWTNVa051Y1VOTlVGRktOMmRHVXpkeVZ6RlV…"
},
"photos": [
{
"accessibilityCaption": "May be an image of baby and smiling",
"dimensions": {
"height": 2144,
"width": 1608
},
"id": "YXBwX2l0ZW06MTAwMDAxMDIyNDg2ODIzOjIzMDUyNzI3MzI6NTo6MjcwMjExODc1MTQxNjUyOTk=",
"imageUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/683651127_18593920150007483_2994407465256079927_n.jpg?_nc_cat=100&ccb=1-7&_nc_sid=127cfc&_nc_ohc=XL39rEmPYAoQ7kNvwFuWBUD&_nc_oc=AdrEnfZPkf6zDrx7qWv8WCSvllv47ovYDzX0W0Fj8dXbR9auixBj3BxjsX-…",
"photoId": "27021187514165299",
"thumbnailUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/683651127_18593920150007483_2994407465256079927_n.jpg?stp=c0.177.1608.1608a_dst-jpg_s206x206_tt6&_nc_cat=100&ccb=1-7&_nc_sid=714c7a&_nc_ohc=XL39rEmPYAoQ7kNvwFuWBUD&_nc_oc=AdrEnfZPkf6zDrx7…",
"url": "https://www.facebook.com/photo.php?fbid=27021187514165299&set=pb.100001022486823.-2207520000&type=3"
},
{
"accessibilityCaption": "May be an image of baby, smiling and bedroom",
"dimensions": {
"height": 1920,
"width": 1440
},
"id": "YXBwX2l0ZW06MTAwMDAxMDIyNDg2ODIzOjIzMDUyNzI3MzI6NTo6MjY4NTQ5NTI4ODQxMjIwOTc=",
"imageUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/669974469_18590336158007483_8993244519859741198_n.jpg?stp=dst-jpegr_tt6&_nc_cat=103&ccb=1-7&_nc_sid=127cfc&_nc_ohc=KOQlfFPj2FUQ7kNvwHWZTAk&_nc_oc=AdoU2ha9x2opn8AWuavxeO3AvOgNfRfKx9Ke8BwVo…",
"photoId": "26854952884122097",
"thumbnailUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/669974469_18590336158007483_8993244519859741198_n.jpg?stp=c0.158.1440.1440a_dst-jpegr_s206x206_tt6&_nc_cat=103&ccb=1-7&_nc_sid=714c7a&_nc_ohc=KOQlfFPj2FUQ7kNvwHWZTAk&_nc_oc=AdoU2ha9x2opn8…",
"url": "https://www.facebook.com/photo.php?fbid=26854952884122097&set=pb.100001022486823.-2207520000&type=3"
},
{
"accessibilityCaption": "May be an image of baby",
"dimensions": {
"height": 1920,
"width": 1440
},
"id": "YXBwX2l0ZW06MTAwMDAxMDIyNDg2ODIzOjIzMDUyNzI3MzI6NTo6MjY4NTQ5NTI4ODA3ODg3NjQ=",
"imageUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/670392720_18590336167007483_1605318333331208924_n.jpg?stp=dst-jpegr_tt6&_nc_cat=107&ccb=1-7&_nc_sid=127cfc&_nc_ohc=4Kf_IXTEuawQ7kNvwEPCQHj&_nc_oc=AdqCZkzddSDR5GfX07VRDaDG7o6RBM6gXGioOQQHf…",
"photoId": "26854952880788764",
"thumbnailUrl": "https://scontent-phl2-1.xx.fbcdn.net/v/t51.82787-15/670392720_18590336167007483_1605318333331208924_n.jpg?stp=c0.158.1440.1440a_dst-jpegr_s206x206_tt6&_nc_cat=107&ccb=1-7&_nc_sid=714c7a&_nc_ohc=4Kf_IXTEuawQ7kNvwEPCQHj&_nc_oc=AdqCZkzddSDR5G…",
"url": "https://www.facebook.com/photo.php?fbid=26854952880788764&set=pb.100001022486823.-2207520000&type=3"
}
]
},
"meta": {
"creditsCharged": 1,
"requestId": "req_9d880cf0-0be8-43de-bc1c-4f0aa8c28580",
"version": "v1"
}
}
Request example pending verification. The request example for this endpoint has not yet been verified in production. Static examples describe the request format; replace sample values with your own. Check the estimated price with a free quote request (X-AISA-Cost-Mode: quote) before running it.
Request contract
- Method and path: GET /apis/v1/facebook/profiles/photos
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/facebook/profiles/photos - cursor: query; optional
- hostMedia: query; optional
- url: query; required
{
"operationId": "facebook.profiles.photos",
"method": "GET",
"path": "/apis/v1/facebook/profiles/photos",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"in": "query",
"name": "cursor",
"required": false,
"schema": {
"description": "Opaque pagination cursor from a previous response.",
"maxLength": 16384,
"minLength": 1,
"type": "string"
}
},
{
"in": "query",
"name": "hostMedia",
"required": false,
"schema": {
"description": "When enabled, include downloadable media links when available. Media availability can affect the quoted maximum price.",
"type": "boolean"
}
},
{
"in": "query",
"name": "url",
"required": true,
"schema": {
"description": "Public Facebook profile or page URL whose photos should be listed.",
"maxLength": 4096,
"minLength": 1,
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Observed response structure
The response observations below come from successful probes or sampled requests. They are partial: fields and types may vary, and no field is guaranteed to be present. Reviewed response definitions take precedence. No real response values are published.- HTTP status / last observed: 200 / 2026-11-14
{
"additionalProperties": true,
"properties": {
"data": {
"additionalProperties": true,
"properties": {
"lookupStatus": {
"type": "string"
},
"page": {
"additionalProperties": true,
"properties": {
"hasMore": {
"type": "boolean"
},
"nextCursor": {
"type": "string"
}
},
"type": "object"
},
"photos": {
"items": {
"additionalProperties": true,
"properties": {
"accessibilityCaption": {
"type": "string"
},
"dimensions": {
"additionalProperties": true,
"properties": {
"height": {
"type": "integer"
},
"width": {
"type": "integer"
}
},
"type": "object"
},
"id": {
"type": "string"
},
"imageUrl": {
"type": "string"
},
"photoId": {
"type": "string"
},
"thumbnailUrl": {
"type": "string"
},
"url": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"meta": {
"additionalProperties": true,
"properties": {
"version": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.686 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Pagination
- Pass
aisa_pagination.next_cursorascursor(query parameter) to fetch the next page; stop whenaisa_pagination.has_moreis false. - The same values are returned in the
X-AISA-Has-MoreandX-AISA-Next-Cursorresponse headers.
Response time
- Typically returns within 10 seconds.
Authorizations
Query Parameters
Response
Facebook photos for the requested profile or page.
Standard success response envelope.