What steps will reproduce the problem?
1. Call timelineUserGet()
2.
3.
What is the expected output? What do you see instead?
Expected user timeline information, received garbage.
What version of the product are you using? On what operating system?
Latest as of 5/3/2012.
Please provide any additional information below.
Here is part 1 of the fix. In twitCurl::timelineUserGet() the lines below used
to incorrectly use TWITCURL_URL_SEP_QUES instead of TWITCURL_URL_SEP_AMP.
if ( includeRetweets )
{
buildUrl += twitCurlDefaults::TWITCURL_URL_SEP_AMP + twitCurlDefaults::TWITCURL_INCRETWEETS;
}
if ( trimUser )
{
buildUrl += twitCurlDefaults::TWITCURL_URL_SEP_AMP + twitCurlDefaults::TWITCURL_TRIMUSER;
}
Part 2 of the fix is that TWITCURL_INCRETWEETS and TWITCURL_TRIMSUSER should be
defined as below with "=true" instead of "=1":
const std::string TWITCURL_TRIMUSER = "trim_user=true";
const std::string TWITCURL_INCRETWEETS = "include_rts=true";
Original issue reported on code.google.com by greggw...@gmail.com on 3 May 2012 at 9:31
Original issue reported on code.google.com by
greggw...@gmail.com
on 3 May 2012 at 9:31