Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I use one app for many subdomain with the graph API?

In my case I want to use one app to get some data with the graph API. Each of my users have a subdomain like http://user.mydomain.com. But when I set up my FB app I can only use one website in the section 'Select how your app integrates with Facebook'.

Is the wilcard working? (I mean http://*.mydomain.com)

Thank you for your help!

like image 218
Antoine Guiral Avatar asked Oct 12 '11 22:10

Antoine Guiral


1 Answers

If you put mydomain.com in the App Domain field, it will allow any subdomains from that domain to work.

like image 147
bkaid Avatar answered Nov 08 '22 21:11

bkaid