J7mbo / twitter-api-php

The simplest PHP Wrapper for Twitter API v1.1 calls
MIT License
1.82k stars 802 forks source link

Internal server error 500 #222

Closed iamaamir closed 7 years ago

iamaamir commented 7 years ago

following this url https://iag.me/socialmedia/build-your-first-twitter-app-using-php-in-8-easy-steps/ when i am trying to run the app i am getting 500 error on the server although curl is working fine on my server when i test it..

EwenH commented 7 years ago

@iamaamir The first thing I would look at is to turn off safe error processing temporarily or to add some error checking. This will hopefully direct you to the line that is causing the issue. Also check to see what your CURLOPT_SSL_VERIFYPEER is set to. Try setting this to false.

iamaamir commented 7 years ago

thx i got it ..