Search APIs
Loading…
← API Store
Social

Facebook

Facebook

Facebook page photos

GET /facebook/v1/profile/photos
Test this endpoint

Every response includes credits_used: the credits this call cost.

Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.

Parameters

NameTypeDescription
urlrequiredstring Example: https://www.facebook.com/NASA
cursorstringValue of `next_cursor` from the previous page.

Every endpoint also takes: raw、fields、fresh、output、records

{
  "cached": false,
  "count": 8,
  "credits_used": 1,
  "next_cursor": "eyJ1IjoiMTAwMDQ0NTYxNTUwODMxIiwiYyI6IkFRSFQ2NHVpMFYyLTNRN0p1bzdBTFJTWTdXZUNfUWhYeWRKbkVvR1EtZVBtOUNjc2diWG9DNDBFLXo3MkVUZy1oeWZRQXEzN1Y0Zjl5…",
  "photos": [
    {
      "alt": "Dynamic, textured clouds swoop across the scene. Their color ranges from deep, steely blue to bright silver. Pink and white stars of varying…",
      "created_at": null,
      "height": 941,
      "id": "1665224601639576",
      "image": "https://scontent.froo2-1.fna.fbcdn.net/v/t39.30808-6/858550186_1665224608306242_5963798559688782078_n.jpg?_nc_cat=103&_nc_map=urlgen_bucketl…",
      "owner": null,
      "url": "https://www.facebook.com/photo/?fbid=1665224601639576",
      "width": 1041
    },
    {
      "alt": "A composite image of a radio wave formation that looks a lot like a treble clef musical symbol, hovering in the midst of two colliding galax…",
      "created_at": null,
      "height": 1525,
      "id": "1664477861714250",
      "image": "https://scontent.froo2-1.fna.fbcdn.net/v/t39.30808-6/857745998_1664477865047583_7948459830471427458_n.jpg?_nc_cat=109&_nc_map=urlgen_bucketl…",
      "owner": null,
      "url": "https://www.facebook.com/photo/?fbid=1664477861714250",
      "width": 2048
    },
    "… 6 more"
  ],
  "user_id": "100044561550831"
}
Response fields (16)

Field paths and types observed in the sample response; the live response is authoritative.

$object
$.cachedboolean
$.countinteger
$.credits_usedinteger
$.next_cursorstring
$.photosarray
$.photos[]object | string
$.photos[].altstring
$.photos[].created_atnull
$.photos[].heightinteger
$.photos[].idstring
$.photos[].imagestring
$.photos[].ownernull
$.photos[].urlstring
$.photos[].widthinteger
$.user_idstring