Don't echo $content.
On Sep 23, 2009, at 8:35 PM, ajibanda <[email protected]> wrote:
ok fine.. so i finally found a way to make it work with oauth and
twitter API. now the problem is it is returnig me values I don't want.
To be specific, after posting something using this code
$content = $to->OAuthRequest('http://twitter.com/statuses/update.xml',
array('status' => $linkpath.' - '.$messageThem), 'POST');
this returns an extra XML which is automatically displayed on my page.
Unfortunately, this appears at the end of my file. How can I get rid
of this?