Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Facebook checkin using Graph API

Facebook checkin using Graph API

Scheduled Pinned Locked Moved ASP.NET
data-structuresjsonhelp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Blikkies
    wrote on last edited by
    #1

    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})

    J 1 Reply Last reply
    0
    • B Blikkies

      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})

      J Offline
      J Offline
      Jasmine2501
      wrote on last edited by
      #2

      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.

      B 1 Reply Last reply
      0
      • J Jasmine2501

        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.

        B Offline
        B Offline
        Blikkies
        wrote on last edited by
        #3

        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?

        J 1 Reply Last reply
        0
        • B Blikkies

          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?

          J Offline
          J Offline
          Jasmine2501
          wrote on last edited by
          #4

          Looks like maybe there is some bugs with the check-in stuff... https://developers.facebook.com/bugs/421514217927887/[^]

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups