Facebook explorer API not working - facebook

Three weeks ago (around 15/05/17) , I was able to use the Facebook API explorer to read my own inbox.
me/inbox
The version that I used was v2.3 which is currently deprecated for public usage but still worked properly when I use it with my own account.
Today, I get this error:
{
"error": {
"message": "(#298) You must be a developer of the application",
"type": "OAuthException",
"code": 298,
"fbtrace_id": "DfFysTKlP/9"
}
}
The message of this error is a bit confusing because obviously, the API explorer is not a my application. Is this a bug or a facebook update?

Related

Scraping Data from Facebook Marketplace using GraphAPI

I am trying to scrape data from Facebook Marketplace in a legal way by using their APIs and access tokens. My first attempt is to use GraphAPI with queries in the form of
https://graph.facebook.com/post_id?access_token=token&fields=comments.summary(true).limit(999).filter(stream).fields(id,message,created_time,parent)
However using the post id from Facebook Marketplace doesn't seem to be working, giving me the error message
{
"error": {
"message": "Unsupported get request. Object with ID '292294948474070' does not exist, cannot be loaded due to missing permissions, or does not support this operation. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "AOhjN4-go7O0hWgLpJDcWCQ"
}
}
Is there another way to scrape data from Marketplace or some method of GraphAPI that I am missing? My goal for the project is to analyze the market for surfboard sales on Marketplace from this page https://www.facebook.com/marketplace/honolulu/search/?sortBy=creation_time_descend&query=surfboard&exact=false.

How to implement Graph-API to get data of Facebook Workplace

I have implemented Facebook API in our APP by using Graph-API. Now I am trying to implement FB-workplace in my application, but i am not able to get any workplace details by using graph-API. I am having my access_token.
I am using FB Graph-API explorer and Postman, but from both the ways i am getting nothing/Error. So What would i change in this to get that data or any more permission needs to update.
Please help in this.
{
"error": {
"message": "Unsupported get request. Please read the Graph API documentation at https://developers.facebook.com/docs/graph-api",
"type": "GraphMethodException",
"code": 100,
"error_subcode": 33,
"fbtrace_id": "AjRPf0Xnp7tkluvI9kWo"
}
}

Facebook Marketing API - Creating an Ad in development mode

I'm implementing an application using Facebook Marketing API's SDK (python), I'm a newbie to this, yet I read the documentation and I was able to create campaigns, and ad sets. But not for ad creatives. The error was that my app is in dev mode and I need to switch it to be public.
Status: 400
Response:
{
"error": {
"message": "Invalid parameter",
"type": "OAuthException",
"code": 100,
"error_subcode": 1885183,
"is_transient": false,
"error_user_title": "Ads creative post was created by an app that is in development mode",
"error_user_msg": "Ads creative post was created by an app that is in development mode. It must be in public to create this ad.",
"fbtrace_id": "Dxgr83ugqSu"
}
}
Once I did, another error occurred stating that an extended permission should be granted:
Status: 403
Response:
{
“error”: {
“message”: “(#294) Managing advertisements requires an access token with the extended permission for ads_management”,
“type”: “OAuthException”,
“code”: 294,
“fbtrace_id”: “HZ8N55VciZg”
}
}
What I did understand is that I need to submit my app for review before trying to push the ad. However, I was wondering if it is possible by anyway to push an ad without doing so? for the sake of testing my script?
Note: it is the same case for sandbox mode.
apologize if this sound like a naive question.

Which permission is required to search topic on graph api

I want to search for a topic using facebook graph api but whenever I do https://graph.facebook.com/v2.7/search?q=search+string&type=topic&access_token={app_access_token} I get the following the following error :
{
"error": {
"message": "(#3) Application does not have the capability to make this API call.",
"type": "OAuthException",
"code": 3,
"fbtrace_id": "AbVC0S7WD3+"
}
}
I have searched over internet for two days for the solutions and even asked on #facebook channel over IRC but got no results so far.

Facebook API Unsupported Operation for v2.3 but Valid for v2.6

I have been using the FB Graph API using v2.3. I write the access token in the input field. Example api call is
https://graph.facebook.com/v2.3/461151203975788/insights
It is now returning
{
"error": {
"message": "Unsupported operation",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "B5syG3OvxBJ"
}
}
However, when I use v2.6, it returns me all of the Insights data that is expected. I am 100% sure the access token is correct. This is happening to all the different pages I have access to. It has been working a few days ago, but it seems to be happening right after I started testing v2.6.
I suspect that somehow, my v2.3 usage has been blocked after using v2.6, as if Facebook is forcing me to use their newest API version.