I am developing an app that uses the Twitter API for authorisation. The app is developed with PHP and 开发者_Go百科CodeIgniter.
My problem is that I'm using MAMP on my Mac, in combination with VirtualHostX. VHX lets you develop using any URL you like, pointed to a local directory - for example, http://dev.mysite
.
When OAuth sends me back to my callback URL like this, nothing happens. Setting it to a 'real' live URL on the Internet works fine and without a problem.
So how can I get local, VHX URLs to work with Twitter OAuth?
Thanks
Jack
Twitter doesnot alllow you to register an application unless you provide a real live URL.
You should look for some free hosting with phpsupport to run such an application...
精彩评论