|
@@ -25,8 +25,8 @@ class API {
|
|
|
|
|
|
static getCompanyID(info) {
|
|
|
return new Promise((resolve, reject) => {
|
|
|
-
|
|
|
- const url = `https://api.linkedin.com/v2/organizations/${info.companyID}`;
|
|
|
+ // const url = `GET https://api.linkedin.com/v2/networkSizes/urn:li:organization:${info.companyID}?edgeType=CompanyFollowedByMember`
|
|
|
+ const url = `https://api.linkedin.com/v2/connections?q=viewer&projection=(paging)`;
|
|
|
const headers = {
|
|
|
'Authorization': 'Bearer ' + info.token,
|
|
|
'cache-control': 'no-cache',
|