Social

Overview

Extract Social URL from only web page. AmplifyReach supports URLs extraction of following social media: YouTube, Snapchat, Twitter, Facebook, Pinterest, Instagram, LinkedIn etc.

Detecting Social Connect Using Catalyst UI

  • Goto AmplifyReach Dashboard -> Bot Studio -> Left Navigation Sidebar
  • Select Core Services > Text Analysis.
  • Select URL or Text tab to enter the link or text for Text Analysis. 
  • Press Analyze button.
  • Text analysis results will be shown.
  • The Social option in Left Panel shows Social Links extracted by AmplifyReach Catalyst.

Extracting Social Connect Using Catalyst API

 Tip: Register your account on AmplifyReach and contact us at kick-start@amplifyreach.com to get Developer ID and Access Token.

URL & Objects

The following URLs are available.

URLDescription
PUT /textanalysis/v1/socialPut URL to extract social connect URL from web page.
GET /textanalysis/v1/social/{UID}Extract Social connect URL from web page.

PUT /textanalysis/v1/social

PUT https://apps.amplifyreach.com/textanalysis/v1/social

NameDescription
Content-Typeapplication/json
authTokenYOUR_DEVELOPER_ACCESS_TOKEN
cidYOUR_DEVELOPER_ID

PUT body

{    
     "url": "<SAMPLE_URL>"
}

cURL-PUT Request for URL Request

curl \
-H “Content-Type: application/json” \
-H “cid:” \
-H “authtoken:” \
-X PUT \
-d ‘{“url”:””}’ \
https://apps.amplifyreach.com/textanalysis/v1/social

Put Response

The social put API response JSON structure:

NameTypeDescription
statusStringRequest Status (Reference: Status & Error Codes)
uidStringUID is unique request identifier ID which to get result in Get API.

Example: PUT Response

{
“status”:”success”,
“uid”:”4f057e01d88ff7aa82a8610dc651e8fe”,
“license”:”By accessing AmplifyReach or using information generated by AmplifyReachAPI, you are agreeing to be bound by the AmplifyReach Terms of Use.”
}

Put Response

The social put API response JSON structure.

NameTypeDescription
statusStringRequest Status (Reference: Status & Error Codes)
uidStringUID is unique request identifier ID which to get result in Get API.

Example: PUT Response

{   
   "status":"success",   
   "uid":"4f057e01d88ff7aa82a8610dc651e8fe",   
   "license":"By accessing AmplifyReach or using information generated by AmplifyReachAPI, 
   you are agreeing to be bound by the AmplifyReach Terms of Use."
}

GET /textanalysis/v1/social/{UID}

GET https://apps.amplifyreach.com/textanalysis/v1/social/{UID}

Headers:

NameDescription
Content-Typeapplication/json
authTokenYOUR_DEVELOPER_ACCESS_TOKEN
cidYOUR_DEVELOPER_ID

cURL-GET Request for URL Request

curl \
-H “Content-Type: application/json” \
-H “cid:” \
-H “authtoken:” \
-X GET \
https://apps.amplifyreach.com/textanalysis/v1/social/{UID}

Social Object

The social response JSON structure.

NameTypeDescription
statusStringRequest Status (Reference:  Status & Error Codes ).
socialConnectJSONObject
socialConnect.youtubeJSONArray StringYouTube channel links.
socialConnect.snapchatJSONArray StringSnapchat pages links.
socialConnect.twitterJSONArray StringTwitter pages links.
socialConnect.facebookJSONArray StringFacebook pages links.
socialConnect.instagramJSONArray StringInstagram page links.
socialCOnnect.linkedinJSONArray StringLinkedIn pages links.

Example: Social Object

{
“status”: “success”,
“socialConnect”: {
“youtube”: [
“https://www.youtube.com/channel/UCef1-8eOpJgud7szVPlZQAQ?sub_confirmation=1”,
“http://www.youtube.com/subscription_center?add_user=ibnlive”,
],
“snapchat”: [],
“twitter”: [
“https://twitter.com/CNNnews18”
],
“facebook”: [
“https://www.facebook.com/cnnnews18/”
],
“pinterest”: [],
“instagram”: [
“https://www.instagram.com/cnnnews18/”
],
“linkedin”: [],
}
}