Avn*_*yin 10 api logout instagram
如何仅从我的应用程序执行注销(而不是从Instagram帐户注销- 但是我的应用程序是的)
我看到有人说"将用户引荐到instagram注销页面",但这不是我真正需要的.
小智 8
您可以在自己的"注销"页面中使用iframe.就像是:
<iframe src="https://instagram.com/accounts/logout/" width="0" height="0" />
Run Code Online (Sandbox Code Playgroud)
执行注销后,您可能希望重定向到主页面.
希望有所帮助.
如果Bhavik S的答案不适合你,就像我一样,因为XFrame Options被设置为SAMEORIGIN,请尝试将注销放在图像的src中:
<img src="http://instagram.com/accounts/logout/" width="0" height="0" />
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11691 次 |
| 最近记录: |