Facebook应用程序:如何删除(或)使以前使用的访问令牌过期? [英] Facebook App: How to Remove (or) make expired the previous used Access Tokens?

查看:216
本文介绍了Facebook应用程序:如何删除(或)使以前使用的访问令牌过期?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不小心将/ code>访问令牌(我从Graph API Explorer生成的)发送给我的朋友。



因为我正在为我的演示应用程序做应用程序开发,所以我不小心通过了测试网址,如:

  https: //graph.facebook.com/me/friends?access_token=XXXXose0cBAJdNvsidbmeGE0cFaqv67nBxNuPjFh2y1E0f8J93K1IlCBYDW49LCfein6hkZBZCKIUmZCTACeovVcVrorrVhP2BScUIujD5Y1wT232ceXXXXXXXXX 

..哪个URL包含




  • 如何使其过期或无用?


解决方案

不幸的是,只需删除Graph API资源管理器应用程序 https://www.facebook.com/settings?tab=applications 不会使您的访问令牌过期。此外,更改您的密码不会过期访问令牌(现在奇怪,我不知道应该考虑一个严重的安全漏洞或设计)!!!



但是,您可以访问 https://www.facebook.com/deactivate.php,然后点击单选按钮这是暂时的,我会回来。。然后点击确认。然后它会询问你当前的密码等等。



之后,请转到 https://www.facebook.com/YOUR_USER_ID 将不会看到您的个人资料。然后,您只需简单地登录,您将反应您的帐户。之后,您以前的Graph API资源管理器的访问令牌将过期。



更新:您可以更改密码,并确保选择登录我的其他设备。它现在可以正常工作(它不适用于昨天)




I accidentally gave/passed the Access Token (The one i generated from Graph API Explorer) to my friend.

Because while i was doing App Development for my Demo-App, i accidentally passed the testing url like:

https://graph.facebook.com/me/friends?access_token=XXXXose0cBAJdNvsidbmeGE0cFaqv67nBxNuPjFh2y1E0f8J93K1IlCBYDW49LCfein6hkZBZCKIUmZCTACeovVcVrorrVhP2BScUIujD5Y1wT232ceXXXXXXXXX

.. which URL contained the access_token inside.

  • How to make it expired/useless please?

解决方案

Unfortunately, simply remove the Graph API explorer app at https://www.facebook.com/settings?tab=applications wouldn't expire your access token. Moreover, change your password wouldn't expired the access token(it's weird by now, i'm not sure it should be consider a serious security bug OR by design) !!!

However, you can visit https://www.facebook.com/deactivate.php, then click the radio button of "This is temporary. I'll be back.". Then click "Confirm". Then it would ask you current password and so on.

After that, go to https://www.facebook.com/YOUR_USER_ID wouldn't see your profile. Then you just simply login as normal, you would reactive your account. After this, the access token of your previous Graph API explorer would expired.

Update: You can just change your password and make sure you select 'Log me out of other devices'. It's works fine now(It doesn't works for yesterday)

这篇关于Facebook应用程序:如何删除(或)使以前使用的访问令牌过期?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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