Giter Club home page Giter Club logo

Comments (8)

peteanusergiu avatar peteanusergiu commented on July 17, 2024 10

The problem is with the curl's syntax.
Instead of (<> vs {})
curl -X POST "https://graph.facebook.com/v2.7/me/subscribed_apps?access_token="
use
curl -X POST "https://graph.facebook.com/v2.7/me/subscribed_apps?access_token={token}"

The v2.7 or v2.6 makes no difference - it works with both.

Hope it helps.

from messenger-bot-tutorial.

Ketelsen avatar Ketelsen commented on July 17, 2024

I get this error as well.

from messenger-bot-tutorial.

egrish avatar egrish commented on July 17, 2024

I get it too

from messenger-bot-tutorial.

keronk avatar keronk commented on July 17, 2024

Same here anyone found the problem?

Update: I seemed to have gotten around it with trial and error here is what I did.

First make sure you type =page_access_token not =<page_access_token>
I also added a namespace and app domain and website URL in the basic setting section of the app.

I'm not certain which of these solved the problem but I'd guess at dropping the <> syntax.

Hope that helps.

from messenger-bot-tutorial.

Arif1310 avatar Arif1310 commented on July 17, 2024

In v2.8 you should use only this:
curl -X POST "https://graph.facebook.com/v2.7/me/subscribed_apps?access_token="

from messenger-bot-tutorial.

smilingsorav avatar smilingsorav commented on July 17, 2024

just get rid of those angle brackets around the token...and you will be just fine
for example

curl -X POST "https://graph.facebook.com/v2.6/me/subscribed_apps?access_token=EAAJ22uv7dO8BAEwvZApIIfLyhmgRjE00a3XHiZAnm3ZBqfzJkMX4GoCjnXCbI5IOBINLP5443v8szAYcvcQSbZB8B2WAbxMGIX5mU"

from messenger-bot-tutorial.

LuisBlanche avatar LuisBlanche commented on July 17, 2024

I have had this issue as well and solved it but now there is another typer of error : 2500. The message is "An active access token must be used to query information about the current user". I am confused, any help ?

from messenger-bot-tutorial.

abhinandansrivastava avatar abhinandansrivastava commented on July 17, 2024

@LuisBlanche Try to generate token again.

from messenger-bot-tutorial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.