Is there any way to get people whose companyId!=6464(sample id) in linkedin people-search api?
Related
I know scraping LinkedIn is not permitted. But I see that you're able to retrieve shares based on someone's profile ID, but is it also possible to retrieve shares based on keywords?
Or is there a workaround where I can first get all profile ID's / Vanitynames based on a specific search and then get the shares / post content based on these ID's?
Thanks!
As far as i know linkedin is very strict in scrapping their data. I think there is no retrieving based on keyword. You can retrive all then , use filter to sort.
I have read through almost all of the documentation of the api v2, and hashtags are not mentioned anywhere. If not, is it possible to get public posts (from both companies and regular users) filtered with a specific keyword?
I read the LinkedIn v2 API half the day, but couldn't wrap my head around what exactly is the distinction between a Share and an Activity?
When I fetch shares via https://api.linkedin.com/v2/shares, I get objects having a share id / urn (e.g. urn:li:share:6432959801428316160) and an activity urn (e.g. urn:li:activity:6432959801868713984).
For both urns I can fetch the same like/comment count via https://api.linkedin.com/v2/socialActions.
The activity urn is described as "Urn of the activity associated with this share", but I couldn't find in the docs what exactly an activity is, in particular compared to a share.
The best that I could find in the documentation:
Activities act as a wrapper around shares and articles to represent content in the LinkedIn feed.
There is an API endpoint to find the share urn identifiers for activity urns.
Due to the nature of my website, it is very complex to get a proper attribution model, cross device tracking is complex but necessary.
I would like to know if it is possible to obtain somehow a users google+ userId whenever he visits my site.
I know there is a feature called UserId where I need to generate my own ID and track it upon a customers visit, but due to the nature of my website, there is very little probability they will log in prior to converting (Fact which will make every cross device interaction useless).
You cannot use a Google ID as the User ID in Google Analytics. The User ID must be private and non PII, i.e. Google must have no way to determine who that ID belongs to. Obviously if it's a Google-based ID, they would be able to tell pretty easily.
The relevant bit from the TOS is paragraph 7 :
You will not (and will not allow any third party to) use the Service
to track, collect or upload any data that personally identifies an
individual (such as a name, email address or billing information), or
other data which can be reasonably linked to such information by
Google.
I have a requirement to programmatically get unique visitors grouped by partial matches on some fields. For example, assume I want to group my users by the source domain like "google" or "facebook".
A single user's visits might come in with a ga:source of "m.facebook.com" and then "www.facebook.com" on another visit, or "m.google.com" and "www.google.co.uk", etc. I can perform an API query specifying "ga:source" as the dimension, and it will give me the unique visitors for "m.facebook.com", "www.facebook.com", "m.google.com" and "www.google.co.uk" respectively. However users who visited via more than one of them in the requested period are counted in each group, so aggregating this data subsequently into "facebook" and "google" groups results in duplicate users being counted.
Would it be possible to group the "ga:source" dimension using a Regex (^(?:.*?\.)(.*?)(?:\..*) for instance) or some similar arbitrary mechanism so that I can get two groups of unique visitors instead: "facebook" and "google"?
I can of course, use filters to get each category and then perform multiple requests and that works fine, but being the lazy programmer I am, I was wondering if I could do it all in one go, or if anyone had alternative suggestions I haven't thought of.
The conclusion appears to be that the only way is indeed to submit a filtered query for each desired grouping of unique users. So I shall do that. :)