简体   繁体   中英

How do I get an Instagram permanent access token using REST API in PHP?

I have offline access the instagram REST API,

But expire the instagram access token.

How do I get an Instagram permanent access token using REST API in PHP?

(or)

How do I get an Instagram access token without user login ?

Thanks Advance...!!!

How do I get an Instagram permanent access token using REST API in PHP?

From the API docs :

Note that we do not include an expiry time. Our access_tokens have no explicit expiry, though your app should handle the case that either the user revokes access or we expire the token after some period of time.

So all Instagram access tokens are "permanent" until either the user or Instagram expires it.

How do I get an Instagram access token without user login ?

You shouldn't be able to, because that would mean a security breach. If I revoke the token I authorized you to have, you shouldn't be able to just get a new one without my approval.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM