LoginRadius v1.0.0 LoginRadius.SocialLogin View Source

Elixir wrapper for the LoginRadius Social Login API module

Link to this section Summary

Functions

GET - Access Token: Translates the request token returned during social provider authentication into an access token that can be used with LR API calls. https://docs.loginradius.com/api/v2/customer-identity-api/social-login/access-token

GET - Album: Retrieves the photo albums associated with an access token. (Facebook, Google, Live, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/album

GET - Audio: Retrieves the audio files associated with an access token. (Live, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/audio

GET - Check In: Retrieves the check in data associated with an access token. (Facebook, Foursquare, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/check-in

GET - Company: Retrieves a user’s followed companies data associated with an access token. (Facebook, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/company

GET - Contact: Retrieves the contacts/friends/connections data associated with an access token. This is part of the LR Friend Invite System, and requires permissions to be set in the LR Dashboard. (Facebook, Foursquare, Google, LinkedIn, Live, Twitter, Vkontakte, Yahoo) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/contact

GET - Event: Retrieves Event data associated with an access token. (Facebook, Live) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/event

GET - Following: Retrieves Following user list associated with an access token. (Twitter) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/following

GET - Group: Retrieves Group data associated with an access token. (Facebook, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/group

GET - Invalidate Access Token: Invalidates an active access token. https://docs.loginradius.com/api/v2/customer-identity-api/social-login/invalidate-access-token

GET - Like: Retrieves Like data associated with an access token. (Facebook) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/like

GET - Mention: Retrieves Mentions data associated with an access token. (Twitter) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/mention

GET - Get Message API: Posts messages to a user’s contacts. This is part of the Friend Invite System. Used after the Contact API, and requires setting of permissions in LR Dashboard. Identical to message_post. (Twitter, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/get-message-api

POST - Post Message API: Posts messages to a user’s contacts. This is part of the Friend Invite System. Used after the Contact API, and requires setting of permissions in LR Dashboard. (Twitter, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/post-message-api

GET - Page: Retrieves page data associated with an access token. (Facebook, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/page

GET - Photo: Retrieves photo data associated with an access token. (Facebook, Foursquare, Google, Live, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/photo

GET - Post: Retrieves post message data associated with an access token. (Facebook) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/post

GET - Status Fetching: Retrieves status messages associated with an access token. (Facebook, Linkedin, Twitter, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/status-fetching

GET - Status Posting: Updates the status on a user (associated with an access token)’s wall. Identical to status_posting_post. (Facebook, Twitter, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/status-posting

POST - Status Posting POST: Updates the status on a user’s wall. (Facebook, Twitter, LinkedIn) https://docs.loginradius.com/api/v2/social-login/post-status-posting

GET - User Profile: Retrieves social profile data associated with an access token. (All) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/user-profile

GET - Validate Access Token: Validates an access token, returns error if invalid. https://docs.loginradius.com/api/v2/customer-identity-api/social-login/validate-access-token

GET - Video: Retrieves video files data associated with an access token. (Facebook, Google, Live, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/video

Link to this section Functions

Link to this function access_token(request_token) View Source
access_token(String.t()) :: LoginRadius.response()

GET - Access Token: Translates the request token returned during social provider authentication into an access token that can be used with LR API calls. https://docs.loginradius.com/api/v2/customer-identity-api/social-login/access-token

GET - Album: Retrieves the photo albums associated with an access token. (Facebook, Google, Live, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/album

GET - Audio: Retrieves the audio files associated with an access token. (Live, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/audio

GET - Check In: Retrieves the check in data associated with an access token. (Facebook, Foursquare, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/check-in

GET - Company: Retrieves a user’s followed companies data associated with an access token. (Facebook, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/company

Link to this function contact(access_token, next_cursor \\ "") View Source

GET - Contact: Retrieves the contacts/friends/connections data associated with an access token. This is part of the LR Friend Invite System, and requires permissions to be set in the LR Dashboard. (Facebook, Foursquare, Google, LinkedIn, Live, Twitter, Vkontakte, Yahoo) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/contact

GET - Event: Retrieves Event data associated with an access token. (Facebook, Live) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/event

Link to this function following(access_token) View Source
following(String.t()) :: LoginRadius.response()

GET - Following: Retrieves Following user list associated with an access token. (Twitter) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/following

GET - Group: Retrieves Group data associated with an access token. (Facebook, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/group

Link to this function invalidate_access_token(access_token) View Source
invalidate_access_token(String.t()) :: LoginRadius.response()

GET - Invalidate Access Token: Invalidates an active access token. https://docs.loginradius.com/api/v2/customer-identity-api/social-login/invalidate-access-token

GET - Like: Retrieves Like data associated with an access token. (Facebook) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/like

GET - Mention: Retrieves Mentions data associated with an access token. (Twitter) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/mention

Link to this function message_get(access_token, to, subject, message) View Source
message_get(String.t(), String.t(), String.t(), String.t()) ::
  LoginRadius.response()

GET - Get Message API: Posts messages to a user’s contacts. This is part of the Friend Invite System. Used after the Contact API, and requires setting of permissions in LR Dashboard. Identical to message_post. (Twitter, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/get-message-api

Link to this function message_post(access_token, to, subject, message) View Source
message_post(String.t(), String.t(), String.t(), String.t()) ::
  LoginRadius.response()

POST - Post Message API: Posts messages to a user’s contacts. This is part of the Friend Invite System. Used after the Contact API, and requires setting of permissions in LR Dashboard. (Twitter, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/post-message-api

Link to this function page(access_token, page_name) View Source

GET - Page: Retrieves page data associated with an access token. (Facebook, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/page

Link to this function photo(access_token, album_id) View Source

GET - Photo: Retrieves photo data associated with an access token. (Facebook, Foursquare, Google, Live, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/photo

GET - Post: Retrieves post message data associated with an access token. (Facebook) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/post

Link to this function status_fetching(access_token) View Source
status_fetching(String.t()) :: LoginRadius.response()

GET - Status Fetching: Retrieves status messages associated with an access token. (Facebook, Linkedin, Twitter, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/status-fetching

Link to this function status_posting_get(access_token, title, url, image_url, status, caption, description) View Source
status_posting_get(
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t()
) :: LoginRadius.response()

GET - Status Posting: Updates the status on a user (associated with an access token)’s wall. Identical to status_posting_post. (Facebook, Twitter, LinkedIn) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/status-posting

Link to this function status_posting_post(access_token, title, url, image_url, status, caption, description) View Source
status_posting_post(
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t(),
  String.t()
) :: LoginRadius.response()

POST - Status Posting POST: Updates the status on a user’s wall. (Facebook, Twitter, LinkedIn) https://docs.loginradius.com/api/v2/social-login/post-status-posting

Link to this function user_profile(access_token) View Source
user_profile(String.t()) :: LoginRadius.response()

GET - User Profile: Retrieves social profile data associated with an access token. (All) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/user-profile

Link to this function validate_access_token(access_token) View Source
validate_access_token(String.t()) :: LoginRadius.response()

GET - Validate Access Token: Validates an access token, returns error if invalid. https://docs.loginradius.com/api/v2/customer-identity-api/social-login/validate-access-token

Link to this function video(access_token, next_cursor \\ "") View Source

GET - Video: Retrieves video files data associated with an access token. (Facebook, Google, Live, Vkontakte) https://docs.loginradius.com/api/v2/customer-identity-api/social-login/advanced-social-api/video