Hi there everyone,
I am playing around with the Twitter4R lib and have got everything set-
up successfully and the calls to Twitter are succeeding but I have a
strange issue I hope someone can help me with.
First a question, does the client.authenticate? method call actually
log in a user or merely check whether the user exists on Twitter and
that the credentials match?
Now for the problem, when I use:
client = Twitter::Client.new(:login => 'username', :password =>
'password')
and the use:
client.my(:info)
I always get some default user returned no matter which
username:password combinations I use.
{:_csrf_token=>"9KXpODjHvl93MmGifjBFRJbIOVZn9dlIRYOor6szDdo=", :session_id=>"b01c39b91acb525cee70992f081786fe", :user=>#<Twitter::User:
0x52484ac @profile_text_color="000000", @statuses_count=0,
@notifications=false, @location=nil,
@profile_sidebar_border_color="87bc44",
@profile_background_color="9ae4e8", @friends_count=0, @utc_offset=nil,
@following=false, @profile_sidebar_fill_color="e0ff92", @name="Jose
Italo", @time_zone=nil, @followers_count=12,
@profile_image_url="
http://s.twimg.com/a/1255715644/images/
default_profile_6_normal.png", @client=#<Twitter::Client:0x524809c
@login="openworlddb", @password="XXXX">,
@profile_background_tile=false, @url=nil, @id=82946051,
@description=nil, @profile_link_color="0000ff", @favourites_count=0,
@protected=false, @screen_name="show", @created_at="Fri Oct 16
18:51:43 +0000 2009", @profile_background_image_url="http://
s.twimg.com/a/1255715644/images/themes/theme1/bg.png">}
Any ideas? What am I missing here?
Thanks!
Schalk