Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    check out if the access token is working:

    https://graph.facebook.com/v2.7/?id=https://www.google.net/&access_token=YOUR-ACCESS-TOKEN

    This should return:

    {
    “og_object”: {
    “id”: “400854551051”,
    “description”: “Search the world’s information, including webpages, images, videos and more. Google has many special features to help you find exactly what you’re looking for.”,
    “title”: “Google”,
    “type”: “website”,
    “updated_time”: “2017-04-21T12:55:10+0000”
    },
    “share”: {
    “comment_count”: 0,
    “share_count”: 4619625
    },
    “id”: “https://www.google.net/”
    }

    Sometimes it needs more time until an access token gets activated by facebook.

    Thread Starter Jmantis

    (@jmantis)

    Thanks for taking the time to respond me Rene.

    Untortunatelly this is what I get:

    {
       "og_object": {
          "id": "400854551051",
          "description": "Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.",
          "title": "Google",
          "type": "website",
          "updated_time": "2017-04-21T13:58:31+0000"
       },
       "id": "https://www.google.net/"
    }

    It was created 6 hours ago https://i.gyazo.com/f7170291e040477a0b4081458f543b00.png, you think it can take even longer than that?

    The access token seems not to be working. Make sure that your facebook account has full permissions and is not an restricted company account.

    Also try to create another facebook app and use another domain for whitelisting. It’s possible that facebook is blocking your domain.

    Thread Starter Jmantis

    (@jmantis)

    Thanks Rene, you are right. I’ve created an app with other website and access token works on all my sites. But why would facebook could be blocking my domain? It’s a brand new domain, wasn’t used before. And I’m also using facebook login option with the same app – works like a charm.

    I was thinking maybe it has something to do that site is set to noindex at the moment?

    > I was thinking maybe it has something to do that site is set to noindex at the moment?

    Yes, that could be the reason but i can not say for sure. No one else than Mark Zuckerberg in persona knows what is going on behind the facebook scene:-)

    Thread Starter Jmantis

    (@jmantis)

    I got the response from Facebook developers team:

    When you debug the token you provided using the Access Token Debugger (https://developers.facebook.com/tools/debug/accesstoken/) you see that it is perfectly valid for another ~2 months or so.

    My feeling is that the plugin fails to properly validate the token. Do you know which API call the plugin is making? Have you tried updating the plugin already?

    Do you know what they mean by “Do you know which API call the plugin is making?”

    • This reply was modified 7 years, 7 months ago by Jmantis.

    Thats the api call which is made by mashshare to the facebook api: https://graph.facebook.com/v2.7/?id=https://www.google.net/&access_token=YOUR-ACCESS-TOKEN

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Verify Access Token Doesn’t Work’ is closed to new replies.