Instagram story via HTTP - Invalid OAuth access token - Cannot parse access.*

I am trying you post stories to my IG account.

I’ve created the app and generated access_token.

I am using HTTP make a request module.

and

POST https://graph.facebook.com/v22.0/<YOUR_APP_USERS_INSTAGRAM_USER_ID>/media ?image_url=<IMAGE_URL> &media_type=STORIES &access_token=<USER_ACCESS_TOKEN>

But I keep receiving this error - Invalid OAuth access token - Cannot parse access.

Any suggestions? Can I ask you to share a working HTTP module?

@gleb_mikulich Based on the explaination you provided, I guess you are using a different HTTP request from the one you needed for this action.

This is the HTTP you need to use but you need to know how to use this. Here

See How to connect page in the Make Help Centre, which covers the following:

  • Getting ready
  • Creating a scenario
  • Testing

and also,

  • OAuth redirect URI domain

and also, see HTTP page in the Make Help Centre, which covers the following:

  • Overview of the HTTP modules
  • Make a request
  • Make a Basic Auth request
  • Make an API key Auth request
  • Make an OAuth 2.0 request
  • Make a client certificate authentication request
  • Get a file
  • Resolve a target URL
  • Retrieve Headers
  • How to generate JSON Web Tokens (JWT)

You can also complete this brand new course/tutorial in the Make Academy on how to use external APIs — API calls with HTTP modules

  • API and Endpoints
  • Header and body
  • Multipart/form-data
  • OAuth 2.0

Hope this helps! Let me know if there are any further questions or issues.

@samliew

P.S.: Investing some effort into the Make Academy will save you lots of time and frustration using Make.

1 Like