Is anyone getting any errors when running a Client.friend?
I'm getting :
*Bad Request (Twitter::RESTError)
*when trying running:
Client.friend(:add,'friendname')
I'm wondering if something has changed in the Twitter API that's causing
this to error?
Regards,
Carl.
P.S: If it helps, I'm also using 'mbbx6spp-twitter4r-0.3.1'
Hi Jeff,
Yeah - I know that twitter changed the way the API worked recently, but
I didn't think we would be affected by it.
Rgds,
C.
I am out of action until next Wednesday in a well [internet] connected
kind of way, but try to see if you can get commit a29a0cea to work in
GitHub. You can download the archive from the following URL:
http://github.com/mbbx6spp/twitter4r/tarball/a29a0cea48f7ea3c2272ace7394023a32c19a67c
Otherwise I will be back to normal after next Wednesday.
HTH,
Susan
--
mailto:m...@susanpotter.net
www:http://susanpotter.net
blog:http://snakesgemscoffee.susanpotter.net
linkedin:http://www.linkedin.com/in/susanpotter
Hi Jeff,
I've managed to fix this issue - not sure why/how it occurs, but got it
working nonetheless (I think).
look for your frienship.rb file in your RubyGems and change the line :
response = http_connect {|conn| create_http_get_request(uri) }
to
response = http_connect {|conn| create_http_post_request(uri) }
Apparently, the friendship module on the API now needs to be posted
rather than a get request....
If Susan can confirm that this looks ok for me - I would be much
appreciated...
Regards,
Carl.