Twitter应用程序无效URL

Twitter应用程序无效URL,twitter,Twitter,我正在主持一个网站的开发版本,我们称之为: http://localhost/mysite 我正在尝试在上创建一个twitter应用程序 https://dev.twitter.com/apps/new 但是,的URL http://localhost/mysite/index.php htpp://127.0.0.1/mysite/index.php 或 http://localhost/mysite/index.php htpp://127.0.0.1/mysite/index.p

我正在主持一个网站的开发版本,我们称之为:

http://localhost/mysite
我正在尝试在上创建一个twitter应用程序

https://dev.twitter.com/apps/new
但是,的URL

http://localhost/mysite/index.php
htpp://127.0.0.1/mysite/index.php

http://localhost/mysite/index.php
htpp://127.0.0.1/mysite/index.php
不接受。错误是:

Not a valid URL format

我的问题有解决办法吗?我在寻找一个解决方案,但是,很明显,twitter API有一个新版本,我找到的所有解决方案都比API的新版本旧。请提供帮助。

如果您通过emulator或bluestack进行测试,只需将127.0.0.1更改为10.0.2.2即可


另外,url(27.0.0.1/mysite/index.php)也不错。如果您遇到问题,请首先检查您的本地主机是否正常工作,以及您在清单中使用了android.permission.internet。

我不知道原因,但问题已经解决。我可以发誓我也在用它进行测试。我不知道怎么做,但问题似乎已经解决了。我们能做的最好的事情就是你编辑你的答案来反映calid URL的样子,我会接受它,这样这篇文章将来会帮助其他人。Twitter现在要求你的站点是https站点