Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404s when trying to GET geo/search #20

Open
smokinjoe opened this issue Oct 24, 2011 · 0 comments
Open

404s when trying to GET geo/search #20

smokinjoe opened this issue Oct 24, 2011 · 0 comments

Comments

@smokinjoe
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant