简体   繁体   中英

Twitter gem find by user id

How do I do this, but by passing in the id instead of the screenname?

Twitter.user("sferik").location

Also where is the documentation for it?

Twitter.user(12345) # where 12345 is the id number

http://rdoc.info/gems/twitter/Twitter/Client/Users#user-instance_method

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM