Ok, I have codeigniter as my MVC, and I have the stock facebook sdk 3.x whatever the latest is at this time, and I am trying to figure out how to add more than just “basic info” to my app permission when the user first authenticates. I am building this from scratch essentially, originally I had tried Elliot Haughin’s library, but for one reason or another it started to fail me, so I figure rather than 3rd party build my own deal from scratch and have a better understanding of whats going on where and when.
Problem is though with Elliots library he had it setup to just pretty much type out an array of the settings you wanted in one file, and then it would be passed on to something else, I assume the login for a user when the app has yet to be apporved by the user.
What i want to do is recreate that idea, or at least know where I should include it so I can get my outside the basic info needs.
You set the permissions in the
getLoginUrlfunction as described here:If you want to load the permissions from a configuration file you can do this:
EDIT:
In JS SDK you have two options depending on the implementation of the login button:
a.
b.