Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Code snippet on how to retrieve a user based on id who is associated with your Facebook page using the MessageMedia Conversations Node.js SDK.
const lib = require('messagemedia-conversations-sdk');
// Configuration parameters and credentials
lib.Configuration.basicAuthUserName = "API_KEY"; // The username to use with basic authentication
lib.Configuration.basicAuthPassword = "API_SECRET"; // The password to use with basic authentication
var controller = lib.AppUsersController;
var appUserId = 'appUserId';
controller.getAppUserById(appUserId, function(error, response, context) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.