jacquagnui / php-twitter

Automatically exported from code.google.com/p/php-twitter
0 stars 0 forks source link

No getReplies() method #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
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) );
    }

Original issue reported on code.google.com by mettadore on 22 Oct 2008 at 10:12

GoogleCodeExporter commented 8 years ago
r51 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.

Original comment by emmenset...@gmail.com on 28 Feb 2009 at 1:25

GoogleCodeExporter commented 8 years ago
r51 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.

Original comment by emmenset...@gmail.com on 28 Feb 2009 at 1:25