lib/Imgur/Api/Account.php
public function galleryFavorites($username = 'me', $page = 0, $sort = 'newest')
    {
        $this->validateSortArgument($sort, ['oldest', 'newest']);

        return $this->get('account/' . $username . '/gallery_favorites/' . (int) $page . '/' . $sort);
    }
public function galleryFavorites($username = 'me', $page = 0, $sort = 'newest')
    {
        $this->validateSortArgument($sort, ['oldest', 'newest']);

        return $this->get('account/' . $username . '/gallery_favorites/' . (int) $page . '/' . $sort);
    }
public function galleryFavorites ( $ username = 'me' , $ page = 0 , $ sort = 'newest' ) { $ this -> validateSortArgument ( $ sort , [ 'oldest' , 'newest' ] ) ; return $ this -> get ( 'account/' . $ username . '/gallery_favorites/' . ( int ) $ page . '/' . $ sort ) ; }
Return the images the user has favorited in the gallery.

@param string $username
@param int    $page
@param string $sort     'oldest', or 'newest'. Defaults to 'newest'

@see https://api.imgur.com/endpoints/account#account-gallery-favorites

@return array Gallery Image (@see https://api.imgur.com/models/gallery_image) OR Gallery Album (@see https://api.imgur.com/models/gallery_album)
Return the images the user has favorited in the gallery .