GET login/apps/social apps
From Social ID Developers
(Difference between revisions)
Ivan.filho (Talk | contribs) |
|||
(One intermediate revision by one user not shown) | |||
Line 1: | Line 1: | ||
== Description == | == Description == | ||
− | Returns all Social Apps from the | + | Returns all Social Apps from the Login App. |
This API does not return data from the Social Apps that are created automatically by the system, only from those explicitly created by the user. | This API does not return data from the Social Apps that are created automatically by the system, only from those explicitly created by the user. | ||
Line 11: | Line 11: | ||
== Authentication == | == Authentication == | ||
− | This API requires | + | This API requires Login App authentication. See [[Authentication]]. |
== Response == | == Response == | ||
Line 53: | Line 53: | ||
=== Request === | === Request === | ||
− | Return all Social Apps from the | + | Return all Social Apps from the Login App. |
curl -X GET 'https://api.socialidnow.com/v1/marketing/login/apps/social_apps' \ | curl -X GET 'https://api.socialidnow.com/v1/marketing/login/apps/social_apps' \ |
Latest revision as of 16:54, 30 December 2021
Contents |
Description
Returns all Social Apps from the Login App.
This API does not return data from the Social Apps that are created automatically by the system, only from those explicitly created by the user.
Resource URL
GET https://api.socialidnow.com/v1/marketing/login/apps/social_apps
Authentication
This API requires Login App authentication. See Authentication.
Response
Response Status
ok (200) | The Social Apps were returned succesfully. |
---|---|
unauthorized (401) | The authentication is wrong. See Authentication. |
internal_server_error (500) | An unknown error happened. |
Response Body
Array of Social Apps, each with the following possible fields:
type | Social App type, "facebook", "twitter", "linkedin", "gplus", "instagram" or "apple". |
---|---|
name | Social App name. |
token | Social App token. |
secret | Social App secret. |
scope_permissions | array with Social App permissions. |
Examples
Request
Return all Social Apps from the Login App.
curl -X GET 'https://api.socialidnow.com/v1/marketing/login/apps/social_apps' \ --user 138:e8b9ca24f1b590af67e6271297d6e1f7226625d61c5b5daa1b2f215464e292cf
Response
Response Headers
HTTP/1.1 200 Ok Status: 200
Response Body
{ [ { "type":"facebook", "name":"Facebook app", "token":"9OAby27Ww3D3TSd", "secret":"wJno7VaeJ83u6J4aP8KnIxz4VrOXNT4f", "scope_permissions":["publish_stream", "email"] }, { "type":"twitter", "name":"Twitter app", "token":"vKF863WIjlGMRdPXtVmV", "secret":"CuppGhJcS3xpS4QC8fSUgZAvwAYqFJVSsmPNBz0J", "scope_permissions":[] }, { "type":"linkedin", "name":"Linkedin app", "token":"4sh1nTK9EPza", "secret":"SrqNgyRnogUElJ9Z", "scope_permissions":[] }, { "type":"gplus", "name":"Google+ app", "token":"4sh1nTADK9EPza", "secret":"AD3SrqNgyRnogUElJ9Z", "scope_permissions":["profile","https://www.googleapis.com/auth/plus.login","email"] }, { "type":"instagram", "name":"Instagram app", "token":"469271421563", "secret":"1a27eac174bddff91d12aeccd7ab2ff699450f46", "scope_permissions":["user_profile"] }, { "type":"apple", "name":"Apple app", "token":"apple.client.id", "secret":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiJzb21ldGhpbmcifQ.FCTdtAy3Nv6oYKjoSWJePrbMASFc_EhpZ8nXtVj7hrg", "scope_permissions":["user", "email"] } ] }