ruby on rails - Using the Facebook API, is there a way to restrict registration to a certain attribute? -


Say I only want people who believe in my country as Indonesia to sign up for my site. Is it possible to implement this?

Yes, but to do so that your potential new user tries to signup on your site You have to do so that you can use Facebook API and observe your hometown or current location, if they are not from Indonesia then you can stop their access.

Comments

Popular posts from this blog

python - how we can use ajax() in views.py in django? -

matlab - Using loops to get multiple values into a cell -

python - Sequence Pattern recognition with Pybrain -