Is it possible to remove a friend relationship between two FB users through the API? I'm thinking that it's not, but (if not) is it possible to at least bring up a dialog that would let the user request the unfriending, similar to how the Friends Dialog (http://developers.facebook.com/docs/reference/dialogs/friends/) lets a user send a friend invitation?
相关问题
- facebook error invalid key hash for some devices
- LoginActivty with Firebase & Facebook authenticati
- facebook “could not retrieve data from URL”
- JDK 11. javax.net.ssl.SSLPeerUnverifiedException:
- setRequestHeader Content-Type causes POST request
相关文章
- Facebook login for group members
- The method FB.api will stop working when called fr
- React native deep linking vs Facebook SDK conflct
- UIActivity with no settings for Facebook
- facebook send API Error Code: 100 API Error Descri
- How to fix 'Facebook has detected MyApp isn
- Can't use Facebook Account Kit: Error inflatin
- Facebook API error subcode 33
You can do that with a browser script: Deleteting All Facebook friend programmatically using fb graph api
The script in this page is out of date, here's a working one:
It is not possible through the API. Facebook is like the mafia - you can get in. but there's no way out.
Simialar to this question: Any way to unfriend or delete a friend using Facebook's PHP SDK or API?
Also, it is against the terms of service for facebook apps to ask people to unfriend. There was a BurgerKing prootional app that famously ran afoul of that after going viral. http://www.insidefacebook.com/2009/01/14/whopper-sacrifice-shut-down-by-facebook/
Let friends unfriend on their own time.