In order to test your application using GAM Facebook Authentication Type (X Evolution 3 upgrade 3 and prior) (GAM) or GAM Twitter Authentication Type you need to host your application in a public URL under port 80. The same happens with Twitter (the Site URL cant´be localhost).
When prototyping, one solution is to deploy to cloud using apps2.genexus.com server (where an Apache web server which listens on port 80 is installed).
This is a linux server so Ruby as well as Java applications can be run on this server. In case of Java applications Apache redirects the HTTP requests to Tomcat server.
Another solution is to use a public web server of your own.
If you don´t have a web server public to internet, an alternative is to make some changes in your machine where you prototype. This alternative helps when testing applications locally (web applications using the local web server or smart devices applications using an emulator).
If you need to test an application with iPhone or iPad for instance, or any other device for which you can´t use an emulator, you need to use a public web server anyway.
Testing Facebook / Twitter authentication for NET WEB applications
Testing Facebook / Twitter authentication for SD applications using Android Emulator
Testing Facebook / Twitter authentication for Java applications locally
Testing Facebook / Twitter authentication for Ruby applications locally