1
我想創建一個應用程序,使用intents上傳圖片到Instagram.My問題上傳後,我想從該帳戶註銷,以便其他用戶可以稍後登錄。有沒有辦法?通過API調用退出Instagram
發現這個鏈接
無法理解的答案。
我想創建一個應用程序,使用intents上傳圖片到Instagram.My問題上傳後,我想從該帳戶註銷,以便其他用戶可以稍後登錄。有沒有辦法?通過API調用退出Instagram
發現這個鏈接
無法理解的答案。
不幸的是,Instagram API不提供端點,它允許將用戶註銷。您引用的答案建議在html頁面中使用攔截url - 它會在iframe中加載註銷url並將其重定向到auth網站。所以你不會真正註銷用戶 - 他將在auth進程之前退出。
的HTML載入頁面可以如下:
<html>
<body>
<script type="text/javascript">
function load() {
window.location.href = "https://YOURS_AUTH_INSTAGRAM_URL";
}
</script>
<iframe src="https://instagram.com/accounts/logout/""
onload="load()"
width="0" height="0">
</iframe>
</body>
</html>