Here's the code:

$params = array('user_id'=> "16685316");
        $oauth = new TwitterOAuth(
                Log::debug("params", $params);
                $result = $oauth->post('friendships/destroy', $params);
                Log::debug("result", $result);
                if (isset($result->error)) {
                        return false;
                return true;

Problem is all requests to both friendships/destroy and friendships/
create fail with the following:

stdClass Object
    [request] => /1/friendships/destroy.json
    [error] => Could not authenticate you.

HOWEVER, using the exact same user object in memory I can successfully
get my personal timeline. ??

Twitter developer documentation and resources:
API updates via Twitter:
Issues/Enhancements Tracker:
Change your membership to this group:

Reply via email to