You are here

public function Github_Api_User::unFollow in Bibliography Module 7.2

Make the authenticated user unfollow the specified user. Requires authentication. http://develop.github.com/p/users.html#following_network

Parameters

string $username the username to unfollow:

Return value

array list of followed users

File

modules/CiteProc/Github/Api/User.php, line 106

Class

Github_Api_User
Searching users, getting user information and managing authenticated user account information.

Code

public function unFollow($username) {
  $response = $this
    ->post('user/unfollow/' . urlencode($username));
  return $response['users'];
}