Skip to content

404s when trying to GET geo/search #20

@smokinjoe

Description

@smokinjoe

I'm not quite sure if I was doing something wrong or what, but when attempting some of the REST API calls, I was getting 404'd and had no idea why.

I believe the problem comes from the Tweets library file and that the _apiUrl that is formed isn't valid. If you look at the formation, it appears to be missing that ../1/.. from the URL string. I cheated it by changing line 322 to look like:

$response = $this->_httpRequest(strtoupper($method), $this->_apiUrl.'/'.$this->_version[0].'/'.$path.'.json', $args);

And it fixed it up for me. Haven't run into any errors, even when using various API GETs that weren't giving me errors before the change.

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