# Ionic cloud instagram login's access\_token?

**URL:** <https://forum.ionicframework.com/t/ionic-cloud-instagram-logins-access-token/97439>\
**Category:** ionic-v3\
**Created:** [July 8, 2017, 4:59pm UTC](https://forum.ionicframework.com/t/ionic-cloud-instagram-logins-access-token/97439 "2017-07-08T16:59:54Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bimodabitrend](https://avatars.discourse-cdn.com/v4/letter/b/b2d939/32.png) [@bimodabitrend](https://forum.ionicframework.com/u/bimodabitrend)\
**Post date:** [July 8, 2017, 4:59pm UTC](https://forum.ionicframework.com/t/ionic-cloud-instagram-logins-access-token/97439/1 "2017-07-08T16:59:54Z")

</div>

I am using Ionic Cloud to login with Instagram,

`this.auth.login('instagram').then(result: {signup: boolean, token: string} => { });`

But when I call the API with access\_token parameter being the token I received from the login (or this.auth.getToken()) I get a 400 error.

Endpoint: `https://api.instagram.com/v1/users/{USER_ID}/media/recent/?access_token={ACCESS_TOKEN}`

Error thrown:

```auto
{
    "meta": {
        "error_type": "OAuthAccessTokenException",
        "code": 400,
        "error_message": "The access_token provided is invalid."
    }
}

```

How can i get real instagram access\_token value with ionic service?

---

<div class="post-metadata">

**Author:** ![bimodabitrend](https://avatars.discourse-cdn.com/v4/letter/b/b2d939/32.png) [@bimodabitrend](https://forum.ionicframework.com/u/bimodabitrend)\
**Post date:** [July 9, 2017, 6:41pm UTC](https://forum.ionicframework.com/t/ionic-cloud-instagram-logins-access-token/97439/2 "2017-07-09T18:41:16Z")

</div>

any solution or suggestion?

---

<div class="post-metadata">

**Author:** ![bal1](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@bal1](https://forum.ionicframework.com/u/bal1)\
**Post date:** [August 18, 2017, 1:45pm UTC](https://forum.ionicframework.com/t/ionic-cloud-instagram-logins-access-token/97439/3 "2017-08-18T13:45:39Z")

</div>

i am struggling the same problem is there any solution to authentificate with instagram using ionic3??

---

<div class="post-metadata">

**Author:** ![Sujan12](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/sujan12/32/108395_2.png) [@Sujan12](https://forum.ionicframework.com/u/Sujan12)\
**Post date:** [August 18, 2017, 2:27pm UTC](https://forum.ionicframework.com/t/ionic-cloud-instagram-logins-access-token/97439/4 "2017-08-18T14:27:28Z")

</div>

You are all talking about Ionic Auth, right?

Note the deprecation notice here: [http://docs.ionic.io/services/auth/](http://docs.ionic.io/services/auth/) Ionic Auth will go away. Maybe you don’t want to invest any more time here.
