Skip to content

Commit

Permalink
Make QueryFollowersById work properly instead of getting twitter_dev'…
Browse files Browse the repository at this point in the history
…s account
  • Loading branch information
Hunter-Dolan authored Nov 6, 2017
1 parent c820c8c commit db21ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (c *Client) QueryFollowerIDs(count int) (FollowerIDs, []byte, error) {
}

func (c *Client) QueryFollowerById(id int) (UserDetail, []byte, error) {
requesURL := fmt.Sprintf("%s?user_id=%d&screen_name=twitterdev", API_FOLLOWER_INFO, id)
requesURL := fmt.Sprintf("%s?user_id=%d", API_FOLLOWER_INFO, id)
data, err := c.BasicQuery(requesURL)
var ret UserDetail
err = json.Unmarshal(data, &ret)
Expand Down

0 comments on commit db21ef8

Please sign in to comment.