I NEED
To get the social media accounts (linkedIn, Facebook, Twitter… and maybe Website too) of a certain account. I already manually added random social media links to a contact in xxxxx.infusionsoft.com
I TRIED
Using REST API. but no field relates to social media accounts, like below:
InfusionsoftCollection {#589 ▼
#items: array:7 [▼
0 => ContactService {#582 ▼
+full_url: "https://api.infusionsoft.com/crm/rest/v1/contacts"
#updateVerb: "patch"
+return_key: "contacts"
#client: Infusionsoft {#543 ▼
#url: "https://api.infusionsoft.com/crm/xmlrpc/v1"
#auth: "https://signin.infusionsoft.com/app/oauth/authorize"
#baseUri: "https://api.infusionsoft.com/crm"
#tokenUri: "https://api.infusionsoft.com/token"
#clientId: "xxxxxxxxxxxxxxxxxxxxxxxxx"
#clientSecret: "xxxxxxxxxxxx"
#redirectUri: null
#apis: []
#debug: false
#httpClient: null
#httpLogAdapter: ArrayLogger {#583 ▶}
#serializer: null
+needsEmptyKey: true
#token: Token {#545 ▶}
}
#where: []
#primaryKey: "id"
#optionalProperities: []
#attributes: array:14 [▼
"email_addresses" => array:1 [▶]
"email_opted_in" => false
"addresses" => []
"last_updated" => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
"tag_ids" => []
"owner_id" => null
"date_created" => "xxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
"middle_name" => ""
"given_name" => "xxxxxxxx"
"email_status" => "NonMarketable"
"phone_numbers" => []
"company" => null
"id" => xxx
"family_name" => "xxxxxxxx"
]
#hidden: []
#visible: []
#appends: []
#casts: []
I also tried using DataService. But social media accounts field in a contact cannot be found, even in the table schema documentation.
QUESTION
I must have missed something here. Is there a way to get Facebook/LinkedIn/Twitter/Website values through the API in PHP? (whether REST or DataService or SDK?)