PHP Instagram Api用户注销? [英] PHP Instagram Api User Logout?

查看:96
本文介绍了PHP Instagram Api用户注销?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在设法从我的instagram应用程序中注销用户.有一种方法可以在重定向到我的主页而不是instagram的注销页面时执行此操作( https://instagram. com/accounts/logout/),我正在使用常见的PHP API包装器.

I'm working on a way to log my user out of my instagram application. Is there a way to do this while redirecting to my homepage and not to the instagram's logout page (https://instagram.com/accounts/logout/) I'm using the cosenary PHP API wrapper.

推荐答案

我将在隐藏的iframe中打开instagram退出页面,如下所示:

I would open the instagram logout page in a hidden iframe like this:

$(body).append('<div style="display:none"><iframe src="https://instagram.com/accounts/logout/" width="0" height="0"></iframe></div>');

这篇关于PHP Instagram Api用户注销?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆