Username
Username

Reputation: 33

PHP Facebook Graph API

so I'm working on this scraper for Facebook public posts. The access_token I am using was generated from the Facebook Graph API Explorer

My start URL works fine, I get the data:

https://graph.facebook.com/v1.0/search?type=post&q=something&access_token=(access_token)&since=1412765557

however when I continue to the next page it stops working giving me this error:

{
   "error": {
      "message": "Unsupported get request.",
      "type": "GraphMethodException",
      "code": 100
   }
}

Upvotes: 2

Views: 140

Answers (1)

andyrandy
andyrandy

Reputation: 74014

Although, when i try with a newer App, i get the following detailed error:

{
  "error": {
    "message": "(#11) Post search has been deprecated",
    "type": "OAuthBaseException",
    "code": 11
  }
}

Upvotes: 3

Related Questions