Chetana113 / twitcurl

Automatically exported from code.google.com/p/twitcurl
0 stars 0 forks source link

Receiving not authorised error from timelineUserGet #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout, make, make install twitcurl
2. Modified the twitterClient.cpp removing search and destroy sections, leaving 
in the section for tweeting and calling timelineUserGet
3. Compile and run twitterClient

What is the expected output? What do you see instead?

Tweet should be post and users timeline should be output. The tweet is pushed. 
However, instead, I get:

<?xml version="1.0" 
encoding="UTF-8"?><hash><request>/1/statuses/user_timeline.xml?count=200?include
_rts=1?trim_user=1</request><error>Not authorized</error></hash> 

What version of the product are you using? On what operating system?

Latest from trunk this morning. Ubuntu Linux with GCC.

Original issue reported on code.google.com by p...@paulswilliams.me.uk on 18 Apr 2012 at 3:51

GoogleCodeExporter commented 8 years ago
I've just noticed the url generated has two ? symbols. i.e. 
/1/statuses/user_timeline.xml?count=200?include_rts=1?trim_user=1Could this be 
related?

Original comment by p...@paulswilliams.me.uk on 18 Apr 2012 at 4:28

GoogleCodeExporter commented 8 years ago
Right, made a change so this now works. Would you like a patch submitting?

Original comment by p...@paulswilliams.me.uk on 18 Apr 2012 at 5:39

GoogleCodeExporter commented 8 years ago
Thanks a lot :) Fixed it now...

Original comment by swatkat....@gmail.com on 19 Apr 2012 at 4:26

GoogleCodeExporter commented 8 years ago
Excellent, cheers!!

Original comment by p...@paulswilliams.me.uk on 19 Apr 2012 at 5:59