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

Search example always return 0 results. #10

Open
crossplatformdev opened this issue Nov 28, 2012 · 1 comment
Open

Search example always return 0 results. #10

crossplatformdev opened this issue Nov 28, 2012 · 1 comment

Comments

@crossplatformdev
Copy link

Hi Matt,

I'm using your search example from the commandline for debugging purposes, it also gives the same result on the build i made, which receives params from a form.

I filled the data not set by default, but always says 0 results. What's wrong?

For last, I noticed that the libs probably where outdated, so i donwloaded the latest ones. Same error.

Please help.

@adamcbrewer
Copy link

I've used this library before and had great success, but I just came across this status code while setting it up for another app this afternoon. I was following the tweet.php example, but I expect if you add the following when creating a new instance it should work:

$tmhOAuth = new tmhOAuth(array(
  'consumer_key' => 'YOUR_CONSUMER_KEY',
  'consumer_secret' => 'YOUR_CONSUMER_SECRET',
  'user_token' => 'A_USER_TOKEN',
  'user_secret' => 'A_USER_SECRET',
  'curl_ssl_verifypeer' => FALSE
));

This clincher for me was setting the curl_ssl_verifypeer option. Hope this helps?

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

2 participants