< back to index

HTTP request

GET https://api.wevoteusa.org/apis/v1/friendInvitationByFacebookVerify (Jump to "Try It Now")

Required Parameters

Parameter name Value Description
voter_device_id string An 88 character unique identifier linked to a voter record on the server
api_key string (from post, cookie, or get (in that order)) The unique key provided to any organization using the WeVoteServer APIs
facebook_request_id integer facebook request id for the invitation.
recipient_facebook_id integer Recipient facebook id to verify the invitation.
sender_facebook_id integer Sender facebook id to verify the invitation.


  "status": string,
  "success": boolean,
  "invitation_found": boolean,

Response Status Codes

Code Description
VALID_VOTER_DEVICE_ID_MISSING Cannot proceed. A valid voter_device_id parameter was not included.
VALID_VOTER_ID_MISSING Cannot proceed. A valid voter_id was not found.

Try It Now: API Variables

Accept an invitation from facebook to be someone's friend

Parameter name Value  

(opens in new window)