Twitter oAuth callbackUrl - localhost development

后端 未结 17 1381
佛祖请我去吃肉
佛祖请我去吃肉 2020-11-27 10:21

Is anyone else having a difficult time getting Twitters oAuth\'s callback URL to hit their localhost development environment. Apparently it has been disabled recently. http:

17条回答
  •  粉色の甜心
    2020-11-27 11:03

    I struggled with this and followed a dozen solutions, in the end all I had to do to work with any ssl apis on local host was:

    Go download: cacert.pem file

    In php.ini * un-comment and change: curl.cainfo = "c:/wamp/bin/php/php5.5.12/cacert.pem"

    • You can find where your php.ini file is on your machine by running php --ini in your CLI
    • I placed my cacert.pem in the same directory as php.ini for ease.

提交回复
热议问题