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"
}
}
Related
When trying this endpoint: POST /v13.0/<OFFLINE_EVENT_SET_ID>/events , i got the following error:
{ "error": { "message": "(#270) This Ads API request is not allowed for apps with development access level (Development access is by default for all apps, please request for upgrade). Make sure that the access token belongs to a user that is both admin of the app and admin of the ad account", "type": "OAuthException", "code": 270, "fbtrace_id": "xxxxxxx" } }
My app is in Live Mode. And has been approved for ads_management, business_management with Advanced Access.
I hope you guys can help me with this issue.
Thank you a lot.
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"
}
}
I've created a live video thru the Faceboook API (v3.1, all latest changes are implemented) and it works ok for me.
When I'm trying to deletethe video using the call:
DELETE https://graph.facebook.com/v3.1/{live_video_id}?access_token=token
-----------------------
"error": {
"message": "(#200) The permission(s) publish_actions are not available. It has been deprecated. If you want to provide a way for your app users to share content to Facebook, we encourage you to use our Sharing products instead.",
"type": "OAuthException",
"code": 200,
"fbtrace_id": "Dcl7arp3pts"
}
Why? I've requested all need permissions already in the oAuth login ("publish_video",
"publish_pages",
"manage_pages",
"user_managed_groups",
"user_friends",
"public_profile",
"user_videos" ) otherwise I had not possible to create the live video.
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.
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