user3330557
user3330557

Reputation: 59

Twitter Ruby API: How do I unfollow a person?

I wanted to know if there is any method known as Twitter::unfollow to unfollow a person using Twitter Ruby API.

I have read the documentation provided on Github but it doesn't seem to help me with this issue.

Upvotes: 1

Views: 410

Answers (1)

SteveTurczyn
SteveTurczyn

Reputation: 36860

Although it's not in the documentation, an examination of the source shows that you can do

@client.unfollow('stephenfry')

Upvotes: 1

Related Questions