diff --git a/backends/twitter/libtwitcurl/twitcurl.cpp b/backends/twitter/libtwitcurl/twitcurl.cpp index e82bf747084ac58e6af476c1115678227b6d161a..68a338042ac0aaebbfd36fcf9dabce85f48eaa0b 100644 --- a/backends/twitter/libtwitcurl/twitcurl.cpp +++ b/backends/twitter/libtwitcurl/twitcurl.cpp @@ -424,6 +424,24 @@ bool twitCurl::timelinePublicGet() twitCurlDefaults::TWITCURL_EXTENSIONFORMATS[m_eApiFormatType] ); } +/*++ +* @method: twitCurl::timelineHomeGet +* +* @description: method to get home timeline +* +* @input: none +* +* @output: true if GET is success, otherwise false. This does not check http +* response by twitter. Use getLastWebResponse() for that. +* +*--*/ +bool twitCurl::timelineHomeGet() +{ + /* Perform GET */ + return performGet( twitterDefaults::TWITCURL_HOME_TIMELINE_URL + + twitCurlDefaults::TWITCURL_EXTENSIONFORMATS[m_eApiFormatType] ); +} + /*++ * @method: twitCurl::featuredUsersGet *