Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Instagram Api User Logout

How do I perform a logout from my application only (not from the instagram account - but yes from my app) ?

I saw some people saying "refer the user to the instagram logout page" but it's not what I really need.

like image 563
Avni Yayin Avatar asked Jun 12 '12 06:06

Avni Yayin


1 Answers

You could use an iframe in your own "logout" page. Something like:

<iframe src="https://instagram.com/accounts/logout/" width="0" height="0" />

You probably want to redirect to the main page after the log out is performed.

Hope that helped.

like image 148
Bhavik S Avatar answered Nov 10 '22 07:11

Bhavik S