Facebook Messenger Get Profile icon

Facebook Messenger Get Profile

Retrieve a user's profile information from Facebook Messenger using their PSID

Facebook Messenger Get Profile

AI-generated

Summary

Retrieve profile information for a Facebook Messenger user specified by their Page-Scoped ID (PSID), returning selected user fields such as first name, last name, and profile picture.

Inputs

  • Recipient ID (PSID) (required) — The Page-Scoped ID of the user whose profile you want to retrieve.
  • Fields — The profile fields to retrieve. Options are first_name, last_name, and profile_pic. Defaults to all three.

Output shape

a single record containing the requested profile fields as JSON for each input item

Returns a JSON object for each input item with the requested profile data fields fetched from the Facebook Graph API. If an error occurs and 'Continue On Fail' is enabled, returns an error message object instead.

Links

Discussion