Looks like User Properties are supported only in IOS and Android SDK
so for our canvas game I'm trying to update user properties using GraphAPI.
In Graph Api Explorer I'm trying to POST to
"{application-id}/user_properties" edge.
When posting
data = [{"user_unique_id":"DD","custom_data":{s:1}}]
I get following error
{ "error": {
"message": "(#100) Invalid property key in some entries: s",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "FYce0Q+zd+d" } }
What am I doing wrong?
Thanks for raising this issue to us. User Properties support will be supported in JS SDK too in the coming months.
Related
I'm having problem with getting picture from the facebook post via Graph API. It used to work but something has changed and I'm getting "(#12) singular statuses API is deprecated for versions v2.4 and higher"
Does anyone had similar problem and know how to workaround it ?
Reproduction steps:
Request:
https://graph.facebook.com/10155765892248481/picture?type=album
Response:
{
"error": {
"message": "(#12) singular statuses API is deprecated for versions v2.4 and higher",
"type": "OAuthException",
"code": 12,
"fbtrace_id": "BBWPqs8AYts"
}
}
Pretty straightforward: I'm trying to get Facebook ads attribution data for my Android app using Open Graph API (so I can detect which users came from Facebook ads, which ad, etc). When I use the below url, I get the following error:
{ "error": {
"message": "(#100) Tried accessing nonexisting field (activities) on node type (Application)",
"type": "OAuthException",
"code": 100,
"fbtrace_id": "H4b8LYlSGeN" } }
https://graph.facebook.com/{app_id}/activities?access_token={token}&event=MOBILE_APP_INSTALL&attribution={attribution_id}
I got the method via this page in their documentation, which does appear to indicate it works the way I expect.
Am I missing something here? Am I using a totally wrong method to get attribution data?
I was making a GET request rather than a POST because I'm a dumdum
I have tried all possibilities to get insights for a media post posted in instagram.
That's the post which I am trying to get insights for-
https://api.instagram.com/oembed/?url=https://www.instagram.com/p/BUs4jxfAtIs/
Clearly endpoints provided by instagram are not sufficient to get any kind of insights data.
And when I try graph api
v2.9/1525843122691691052_5512691375/insights
I receive an error:
{
"error": {
"message": "(#803) Some of the aliases you requested do not exist: 1525843122691691052_5512691375",
"type": "OAuthException",
"code": 803,
"fbtrace_id": "A64kR4gnbfC"
}
}
Is this even possible? Has anyone been able to do this? The documentation does not help much and looks like not to be up to date.
I want get user's app with facebook sdk, i have found facebook document and not get any idea.
Apps like these.
There is no way to get the list of Apps anymore, earlier you could use this endpoint: /me/applications/developer
The result:
{
"error": {
"message": "(#12) User/applications endpoint is deprecated for versions v2.6 and higher",
"type": "OAuthException",
"code": 12,
"fbtrace_id": "Gk8yWCyLdK3"
}
}
I'm trying to port my application from 1.0 to v2.2 of graph api.
To be specific, I have problems in getting admins of a given page.
Strangely, the endpoint is deprecated while it's not reported like so from docs :
Official doc page:
https://developers.facebook.com/docs/graph-api/reference/v2.2/page/admins
Actual response in graph api explorer:
{
"error": {
"message": "(#12) admins is deprecated for versions v2.2 and higher",
"type": "OAuthException",
"code": 12
}
}
Is there any way to have admins ids of a page?
The /{page_id}/admins edge on the Page node has been renamed to /v2.2/{page_id}/roles
Source: https://developers.facebook.com/docs/apps/changelog