Guest User

Untitled

a guest
May 23rd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. FB.Connect.showPermissionDialog("offline_access");
  2.  
  3. var channel_path = 'xd_receiver.htm';
  4. FB_RequireFeatures(["Api"], function(){
  5. // Create an ApiClient object, passing app's API key and
  6. // a site relative URL to xd_receiver.htm
  7. FB.Facebook.init(api_key, channel_path);
  8. var api = FB.Facebook.apiClient;
  9.  
  10. // require user to login
  11. api.requireLogin(function(exception){
  12. ...
Add Comment
Please, Sign In to add comment