Skip to content
This repository was archived by the owner on Dec 4, 2018. It is now read-only.
This repository was archived by the owner on Dec 4, 2018. It is now read-only.

Basic example does not work #208

@pascalaschwanden

Description

@pascalaschwanden

$twitterObj = new EpiTwitter(
Hidden::TWITTER_CONSUMER_KEY,
Hidden::TWITTER_CONSUMER_SECRET,
$oauth_token,
$oauth_token_secret);

$twitterObj->useAsynchronous(true);

// neither one of the following work, and I've tried many many variations
$results = $twitterObj->get("users/lookup", array("user_id" => 2344));
$creds = $twitterObj->get('/account/verify_credentials.json');

echo $creds->responseText;
exit;

The result is that the process just hangs, or sometimes the whole server hangs :(
Sometimes it throws an exception and I get error_code=0 with no error message.

I know the authentication is correct because it works just fine with other twitter libraries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions