Twitter API Explorer

friendships/create

Allows the authenticating users to follow the user specified in the ID parameter. Returns the befriended user in the requested format when successful. Returns a string describing the failure condition when unsuccessful. If you are already friends with the user an HTTP 403 will be returned.

http://twitter.com/friendships/create.{{response_format}}

false

One of the following parameters is required:

  • Specfies the ID of the user to befriend.

  • Specfies the screen name of the user to befriend.

Optional Parameters:

  • Enable (set to 'true') notifications for the target user in addition to becoming friends.

Show
  • You can also use the (ambiguous) parameter - id. The ID or screen name of the user to befriend. (Example: http://twitter.com/friendships/create/12345.json or http://twitter.com/friendships/create/bob.xml)


* You need to first to make authenticated request.

Built by Ricky (@r1cky on Twitter)

A Django site.