Facebook checkin using Graph API
-
Hey, I am trying to publish a checkin on a user facebook wall using the Graph API. Before I do, I get the access_token with the following scope:
offline_access,publish_actions,publish_stream,user_checkins,publish_checkins,friends_checkins
It works fine when I publish a normal post on the users wall but when I try to publish a checkin, I get the following error:
(OAuthException - #200) (#200) Requires extended permission: publish_checkins
The code Im using to publish the checkin is:
Dim client As New FacebookClient(token)
client.Post("/me/checkins", New With {.message = Message, .place = placeID, .coordinates = coordinates}) -
Hey, I am trying to publish a checkin on a user facebook wall using the Graph API. Before I do, I get the access_token with the following scope:
offline_access,publish_actions,publish_stream,user_checkins,publish_checkins,friends_checkins
It works fine when I publish a normal post on the users wall but when I try to publish a checkin, I get the following error:
(OAuthException - #200) (#200) Requires extended permission: publish_checkins
The code Im using to publish the checkin is:
Dim client As New FacebookClient(token)
client.Post("/me/checkins", New With {.message = Message, .place = placeID, .coordinates = coordinates})It's not an error in your code, the user hasn't given that permission to your app. You'll have to log in your Facebook account and it should have a request from your app waiting for you. Only the Facebook user can change this option - your app can't change it.
-
It's not an error in your code, the user hasn't given that permission to your app. You'll have to log in your Facebook account and it should have a request from your app waiting for you. Only the Facebook user can change this option - your app can't change it.
Hey I know that it is not an error. currently i'm testing it using my own account, when I call the oauth/authorize, I allow my app, but the facebook error remains when I try to publish a checkin... Could it be my own privacy settings? Any Idea what im doing wrong?
-
Hey I know that it is not an error. currently i'm testing it using my own account, when I call the oauth/authorize, I allow my app, but the facebook error remains when I try to publish a checkin... Could it be my own privacy settings? Any Idea what im doing wrong?
Looks like maybe there is some bugs with the check-in stuff... https://developers.facebook.com/bugs/421514217927887/[^]