chp
chp

Reputation: 23

Access Facebooks signed_request on localhost

I'm a little confused, that this problem is not mentioned anywhere:

I'm developing an iFrame App for a facebook fanpage and want to access signed request from localhost.

I've visited and tested most of the available stackoverflow threads and other forums - without success.

I'm not even sure if it's possible at all!

Please help!

Upvotes: 0

Views: 313

Answers (2)

Hasin Hayder
Hasin Hayder

Reputation: 818

Just create a virtual host which reflects the same parent domain name (for example while creating the facebook application, if your domain name is xyz.com - then create a virtual host with dev.xyz.com or something like that) and runs from your localhost.

Now you can use FB JS-SDK to collect tokens and use that token in other graph API calls without any problem at all!!

Upvotes: 0

Awais Qarni
Awais Qarni

Reputation: 18006

Develop Facebook Application on Local Host will help you easily

Upvotes: 1

Related Questions