Remove A Tab (App) from A Page Using The Open Graph - facebook

Is it possible remove an app from a page using the Open Graph?
From the official documentation they say that is possible: https://developers.facebook.com/docs/reference/api/page/#tabs
But when I use it with the delete on the graph explorer:
graph.facebook.com/128003037303086/tabs/app_333139666735547
I am getting this error:
{
"error": {
"message": "(#210) Subject must be a page.",
"type": "OAuthException",
"code": 210
}
}

From: http://developers.facebook.com/blog/post/524/
The Graph API Explorer makes it easy to read and update your Page settings interactively. If you get a ‘subject must be a Page’ error, you are likely not using the Page access token for the request.

Related

APIException$FailedRequestException Cannot determine the target object for this request

I'm new to the Facebook API and the Graph API Explorer, so any help understanding the tool is appreciated. I have been through quite a bit of the Facebook developer documentation trying to understand how to register an application, create and use access tokens and using Graph API Explorer to return a data I will eventually persist for use in analytic tools.
When I execute the following using Graph API Explorer it returns a message that I can't find any information on so I can track what I'm doing wrong.
https://graph.facebook.com/v2.6/CAMPAIGN_ID/insights
{
"error": {
"message": "(#275) Cannot determine the target object for this request. Currently supported objects include ad account, business account and associated objects.",
"type": "OAuthException",
"code": 275,
"fbtrace_id": "HbrtL4oBAh9"
}
}
When I execute the same URL in a browser:
https://graph.facebook.com/v2.6/CAMPAIGN_ID/insights?access_token=9999999999999999999999NnIi3URfZBtORdG7J6AwUjo0zzDO2AcsUrTGXYHRKj0YI4nWPUmYbMshXsxPApAEW3xUNvtIYhYEZA5wBqRLvjL4bPN8wzKq7KiJ9Rr3VQO1Ps2M8zbFl3T38cp8rhLxeLfm3OQlZBEZZZZZZZZZZZZZZZZZZ
also returns the same error message.
Thanks

How to get the result in Facebook Graph Api Explorer.? Getting error message (#15) This method must be called with an app access_token

I was Unable to get the search result in Facebook Graph Api Explorer For Topic search API. I am getting the following error. I also have the access token included.
{
"error": {
"message": "(#15) This method must be called with an app access_token.",
"type": "OAuthException",
"code": 15,
"fbtrace_id": "CJiZqVSATXu"
}
}
Well, the error message actually contains the problem. You're not using an App Access Token, but seemingly an User Access Token (from the Access Token structure in your screenshot).
You must select an app of yours in the upper right Applications dropdown, and then select Get App Token in the dropdown below.
Still, that will probably not help much in this case. Are you aware that only whitelisted apps can use the Topic Search API?
See
https://developers.facebook.com/docs/graph-api/using-graph-api#search
https://developers.facebook.com/docs/mediasolutions/topic_search/v2.5

facebook api get page ratings return Unsupported get request

I already followed instructions from this https://developers.facebook.com/docs/graph-api/reference/v2.0/page/ratings
some config I have already made, this has been run only in facebook graph explorer
using page_access_token from me/accounts which is a required just want to post this
the field=open_graph_story and other fields
age restrictions changed back and forth
country restrictions changed back and forth
still having the same problem.
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
Is there something to do with the selected developer only to use this api? I have read something like that in the facebook api but failed to locate the url.
Any details about this problem, please, at least refer me some links.

Facebook Open Graph event search

On Graph API Explorer I can do this search: search?q=Barcelona&type=event
But when I try the same with my app access token I get this error:
{
"error": {
"message": "(#200) Must have a valid access_token to access this endpoint",
"type": "OAuthException",
"code": 200
}
}
The other searches work well.
UPDATE 2017-11-27:
As Facebook doesn't allow an event search based on location anymore, I'd recommend to use https://github.com/tobilg/facebook-events-by-location-core
Original answer:
Please refer to https://developers.facebook.com/docs/reference/api/search/#access_tokens
There, it's stated that all searches except for pages and places require an user access token.

facebook graph api explorer

I am facing a problem with Graph API Explorer, and I need to know if it's a known bug in the graph itself or whether something else is wrong.
When I try to get the posts of a page in the graph explorer, most of them show up but some do not although the post itself exists and I can access it in facebook itself.
For your better understanding of the problem here is an example-
593482174003200_649686581716092 gives me this-
{
"error": {
"message": "Unsupported get request.",
"type": "GraphMethodException",
"code": 100
}
}
While this http://www.facebook.com/593482174003200/posts/649686581716092/ shows me the actual post.
Thanks in advance.