Guest User

Untitled

a guest
Jun 6th, 2018
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. const lib = require('messagemedia-conversations-sdk');
  2.  
  3. // Configuration parameters and credentials
  4. lib.Configuration.basicAuthUserName = "API_KEY"; // The username to use with basic authentication
  5. lib.Configuration.basicAuthPassword = "API_SECRET"; // The password to use with basic authentication
  6.  
  7. var controller = lib.FacebookController;
  8.  
  9. controller.getFacebookPagesUsingGET(function(error, response, context) {
  10. console.log(response);
  11. });
Add Comment
Please, Sign In to add comment