capabilities.work

Verify And Update User

A 3-step recipe with Meta. We can help you get access.

Recipe · 3 steps

Verify And Update User

with Meta

Confirm a user exists before updating, then verify the update.

  1. Read the User node to confirm it exists before attempting a write. A 200 proceeds to the update; a 404 ends the flow.
  2. Apply the supplied update to the confirmed User node.
  3. Re-read the User node to confirm the updated values persisted.
What you'll need to have ready
  • accessToken: A Meta Graph API user access token.
  • userId: The id of the user to verify and update.
  • updates: Map of writable User fields to apply when the user exists.
  • fields: Comma-separated fields to read back after the update.
For your developer

Arazzo workflow meta:verify-and-update-user, 3 operations: getUser → updateUser → getUser. Specs on APIs.io.