I don't have a website. So for trial purpose, I was using localhost(127.0.0.1) for my application. In facebook app settings, when I enter 127.0.0.1/myfblogin as URL, getting error as "is invalid because it is a Facebook url".
What is possible solution for this?
facebook does accept localhost as an appdomain. Just try http://localhost:8080/
Here is the solution for the question: Replacing the localhost by any wildcard DNS. I used 'fuf.me'. So my final URL becomes ' http://fuf.me:8080/myfblogin '.
For reference, refer to below link for more wild card DNS. http://www.fidian.com/programming/public-dns-pointing-to-localhost
These wildcard DNS redirect to localhost and are also accepted by facebook as app URL.
请在facebook app设置中使用http://作为URL尝试您机器的私人IP地址。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.