Didn't see a method to grab all @ replies. This works for direct replies, but does not work for replies where the @user comes within the post text. Cheers, -J
-- cut --
/**
* Returns a list of the @ replies sent to the authenticating user.
* @param string $since (HTTP-formatted date) Optional. Narrows the
resulting list of direct messages to just those sent after the specified date.
* @return string
*/
function getReplies( $since = false )
{
$qs='';
if( $since !== false )
$qs = '?since=' . urlencode($since);
$request = 'http://twitter.com/replies.' . $this->type .$qs;
$out = $this->process($request);
return $this->objectify( $this->process($request) );
}
Comment #1
Posted on Feb 28, 2009 by Happy Monkeyr51 adds replies method. However, it is up to your app to find @replies in context. The class only provides what Twitter provides. Also, consider using Search class.
Comment #2
Posted on Feb 28, 2009 by Happy Monkeyr51 adds replies method. However, it is up to your app to find @replies in context. The class only provides what Twitter provides. Also, consider using Search class.
Status: WontFix
Labels:
Type-Defect
Priority-Medium