Using Facebook SDK in a mobile app
Content
I want to use the Facebook Javascript SDK in one of our mobile apps. I cant do it the traditional way because the script tag is prohibted. Should I create a new folder"js" under the resources folder, add the entire FB SDK locally, then reference that instead? Also, is there a way to define an onload method in PageModule. Something like
PageModule.prototype.onload = function(a,b,c) {
};
Submit button seemed to work by doing
PageModel.submit = function() {
};
Which overwrote the form submit action
Tagged:
1