Facebook app domain name when using localhost

前端 未结 16 666
说谎
说谎 2020-12-07 13:18

From a tutorial here:
http://ankurm.com/blog/api/using-localhost-for-facebook-app-development/1091/

I tried to set up a Local development Area for my Facebook

16条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-07 13:52

    https://ngrok.com

    Go through https://ngrok.com/ link to download ngrok and extract that file. Open cmd ( search cmd) Go to directory where ngrok is extracted. Open ngrok from command line ex: c:/ngrok/ngrok.exe [port] or cd c:/ngrok then ngrok 80 ( ngrok [port] ) You will get

    ngrok

    Tunnel Status                 online
    Version                       1.3/1.3
    Forwarding                    http://3ahsdfhska.ngrok.com -> 127.0.0.1:80
    Forwarding                    https://3ahsdfhska.ngrok.com -> 127.0.0.1:80
    Web Interface                 http://127.0.0.1:4040
    # Conn                        0
    Avg Conn Time                 0.00ms
    

    Don’t FORGET to make sure your wamp server is open on same port … (how to check -> goto->wampicon->apache->httpd.conf search for port or 80(default) use that for ngrok.exe 80 )

    http://3ahsdfhska.ngrok.com

    will be URL for accessing your localhost online

提交回复
热议问题