AI Social Lookup
Playground
# please hit a request to see the result.
Please hit a request to see the result. |
To reveal your api key, please click the button below.
Choose language
Shell
Node.js
Java
C#
Python
Php
To get the profile's organizations in LinkedIn, you need to make a GET call to the following endpoint.
API endpoint: GET /wp-json/tsp/linkedin/v1/profiles/organizations
&cursor={CURSOR}
Use this optional parameter to paginate through results. Use the cursor returned from your previous request.
curl --location 'https://thesocialproxy.com/wp-json/tsp/linkedin/v1/profiles/organizations?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}&identifier=andrew-huberman' \'
var request = require('request');
var options = {
'method': 'GET',
'url': 'https://thesocialproxy.com/wp-json/tsp/linkedin/v1/profiles/organizations?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}&identifier=andrew-huberman',
'headers': {
'Content-Type': 'application/json',
},
};
request(options, function (error, response) {
if (error) throw new Error(error);
console.log(response.body);
});
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "");
Request request = new Request.Builder()
.url("https://thesocialproxy.com/wp-json/tsp/linkedin/v1/profiles/organizations?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}&identifier=andrew-huberman")
.method("GET", body)
.addHeader("Content-Type", "application/json")
.build();
Response response = client.newCall(request).execute();
var options = new RestClientOptions("https://thesocialproxy.com")
{
MaxTimeout = -1,
};
var client = new RestClient(options);
var request = new RestRequest("/wp-json/tsp/linkedin/v1/profiles/organizations?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}&identifier=williamhgates", Method.Get);
request.AddHeader("Content-Type", "application/json");
RestResponse response = await client.ExecuteAsync(request);
Console.WriteLine(response.Content);
import requests
import json
url = "https://thesocialproxy.com/wp-json/tsp/linkedin/v1/profiles/organizations?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}&identifier=andrew-huberman"
payload = {}
headers = {
'Content-Type': 'application/json',
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
$curl = curl_init();
curl_setopt_array($curl, array(
CURLOPT_URL => 'https://thesocialproxy.com/wp-json/tsp/linkedin/v1/profiles/organizations?consumer_key={CONSUMER_KEY}&consumer_secret={CONSUMER_SECRET}&identifier=andrew-huberman',
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => '',
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 0,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => 'GET',
CURLOPT_HTTPHEADER => array(
'Content-Type: application/json',
),
));
$response = curl_exec($curl);
curl_close($curl);
echo $response;