I have created a Facebook app using RestFB. In my local environment it is working fine. To put the app on the web, I need to get token. I am following these steps:
- Redirecting from Facebook to my app url using app id and secret key.
- Getting code from url
- Trying to redirect using code to get authtoken
I am not able to complete step 3, Please help me.
A sample code will be most appreciated.