Get a Facebook post or Reel by URL.
Endpoint
/v1/facebook/posts
Query
Public permalink to the Facebook post or reel.
When true, includes a sample of top-level comments when available.
When true, includes a plain-text transcript when available for the video.
const response = await fetch( "https://api.socialfetch.dev/v1/facebook/posts?url=https://www.facebook.com/uniladmag/posts/pfbid02h8QyMzZrMtHks9iU7oneNe4yTKMzNPynvA9WYMedK7eLjU422HD6u3dfmvmgT5QQl", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);