Skip to content
/ proxy Public

When hosted with heroku, it can be used to proxy ssl url to your fb application.

Notifications You must be signed in to change notification settings

manuks/proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

While developing a facebook page tab we have to specify ssl url of the app.

Suppose your application is

http://yourdomain.com/fb/app/
https://yourdomain.com/fb/app/ will not work in facebook if you do not have a valid ssl certificate.

For a sandbox application buying an ssl certificate is not that prcactical.

This proxy can be used in that situation.

Create an application in heroku and find its git url from the settings page. It will be like

    [email protected]:your-application-name.git

Then follow this steps

   git clone [email protected]:manuks/proxy.git
   git remote add heroku [email protected]:your-application-name.git
   git push heroku master
   heroku config:set REDIRECTHOST=yourdomain.com

This will create a nodejs application in heroku which will proxy yourdomain from an ssl domain.

You can give the following url in facebook app settings.

https://your-application-name.herokuapp.com/fb/app/

About

When hosted with heroku, it can be used to proxy ssl url to your fb application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published