4

I want to be able to authenticate the user, list out all their friends and give them the ability to unfriend / remove some of those friends with without going through the process on the Facebook.com website.

Is this possible via the API?

Igy
  • 43,710
  • 8
  • 89
  • 115
Brandon
  • 1,997
  • 3
  • 24
  • 33
  • 3
    you could let the script write obscene flames to their wall and tell them you no longer want to be friends no more. and something about their mother. i'd assume this will give the same result in some cases ;) – Gordon Sep 26 '11 at 14:16
  • 3
    Finally my database of "Yo momma" jokes is useful! – Brandon Sep 26 '11 at 15:06

3 Answers3

4

There is no API available to add or remove friends programmatically.

What is available is a dialog box your app can use to help users send friend requests, but this still requires direct user interaction

Igy
  • 43,710
  • 8
  • 89
  • 115
2

Currently no way to remove friends programmatically but fb's mobile design can be easily manipulated by a php spider.

PsyChip
  • 89
  • 2
  • 9
1

What you can do its create a popup to m.facebook/userid for each friend.

When the user clicks on a friend the popup opens and there they can unfriend that person, that is a few clicks and its totally allowed by facebook.

<a href="http://m.facebook.com/userid" 
         onClick="window.open(this.href, this.target, 'width=500,height=600'); 
         return false;">
Friend Name</a>
Julio Popócatl
  • 712
  • 8
  • 16