codeigniter-oauth icon indicating copy to clipboard operation
codeigniter-oauth copied to clipboard

Update with media issue

Open ludar opened this issue 12 years ago • 0 comments

Having an issue using this function:

    $request = OAuth_Request::forge('resource', 'POST', 'https://api.twitter.com/1.1/statuses/update_with_media.json', array(
        'oauth_consumer_key' => $consumer->key,
        'oauth_token' => $token->access_token,
        'media' => $post_data['data'],
        'status' => $status));

Errors PHP Fatal error: Uncaught exception 'Exception' with message 'Error fetching remote https://api.twitter.com/1.1/statuses/update_with_media.json [ status 403 ] {"errors":[{"code":195,"message":"Missing or invalid url parameter."}]}'

Here are people with similar issues https://dev.twitter.com/discussions/20834

And what the Abrahms fix https://github.com/abraham/twitteroauth/pull/232

ludar avatar Oct 18 '13 02:10 ludar