How to use Twitter Insights and retrieve data out there? - api

In Twitter Analytics Under Audience Insights I can see my followers Interests,Gender and etc. See the attached image
I have skimmed through some APIs of Twitter but I am still unsure about how to retrieve those data programmatically..
Which API documentation should I take into account as a reference? Also is it a necessity to be an official partner to reach those data or not?

Not all of this data is available via API today, but some of it is. There are two possible sources of this data via API:
The Ads API has Audience Insights endpoints for whitelisted partners that provide insights into the audiences of advertisers. These include two endpoints: GET insights/accounts/:account_id and GET insights/accounts/:account_id/available_audiences
The GNIP APIs also have an Audience Insights API in beta that exposes more data that the Ads API. The reference for this API is available now.

Related

LinkedIn Ads Analytics API does not return certain metrics namely 'sends' and 'viralCommentLikes'

I am using LinkedIn Ad Analytics API to get the report stats from LinkedIn. However we are missing few fields namely 'sends' and 'viralCommentLikes' in the response.
Sample Request:
https://api.linkedin.com/v2/adAnalyticsV2?q=analytics&pivot=CREATIVE&dateRange.start.day=18&dateRange.start.month=10&dateRange.start.year=2018&timeGranularity=DAILY&accounts=urn:li:sponsoredAccount:123456789&dateRange.end.day=18&dateRange.end.month=10&dateRange.end.year=2018
I found out that this is because of the permission issues. Access token do not have permission to get values for sends.
Does anyone have knowledge regarding the required LinkedIn App permissions to get values for 'sends' and 'viralCommentLikes' metrics or where we can ask it from LinkedIn support?
Thank you
It seems that these metrics are now available (as of September 2019):
"Four new metrics are available: reactions, viralReactions, sends, and viralCommentLikes."
https://learn.microsoft.com/en-us/linkedin/marketing/integrations/recent-changes#september-2019
Please refer to the Metrics Available in the API documentation for field descriptions.

linkedin api v2: "Not enough permissions to access" for /people

My question is similar for Linkedin v2 api: Not enough permissions to access: GET /countriesV2, LinkedIn V2 api: Not enough permissions to access /me GET, Not enough permissions to access /me GET and others, but works with /v2/organizations/ endpoint (that's why I think the app is already applied for api: https://business.linkedin.com/marketing-solutions/marketing-partners/become-a-partner/marketing-developer-program).
That's not my app - my client's one.
My task is getting members' info, but any calls to /v2/people/ endpoint fall.
The r_basicprofile permission is set and I no need for extra profile fields.
Now I see a couple of problems with linkedin REST API:
most of examples are for v1
v1 doesn't work at all
links to the linkedin site (like https://developer.linkedin.com/comment/NNNNN#comment-NNNNN%23comment-NNNNN) mostly don't work (about 95-99%)
I can't even call samples from developer.linkedin.com
I asked about this on linkedin help forum. I don't understand is this api works or not?
Does anyone have a successful experience with /v2/people/ endpoint?
if you really want to use V2 apply to the partnership that is required.
but because you need only basic profile info try this :
https://api.linkedin.com/v1/people/~:(id,first-name,last-name,headline,picture-url,email-address,public-profile-url)?format=json
this will return the information of the person who is loggedin.
if you want information of another person try this:
https://api.linkedin.com/v1/people/[user_id]:(id,first-name,last-name,headline,picture-url,email-address,public-profile-url)?format=json
hopefully this works for you.

Twitter and YouTube Analytics API

When we login to analytics.twitter.com via our account we could see a brief explanation about our followers like interests and occupation etc.
I have a basic portal that users could logIn via their Twitter accounts and I was wondering that, Is it possible to retrieve those data who loggedIn to my portal via using API?
Those data gathered all under audience insight, and I would like to make a meaningful inference about the people who loggedIn to my portal related the quality of their audience and etc.
All in all, I only would like to know is it possible to retrieve those data via using APIs both for Twitter and Youtube?
There is no API available (from Twitter) that provides access to the data values on analytics.twitter.com.

What is the difference between the “Google+ API” and the “Google+ API (Sign-in)”?

What is the difference between the “Google+ API” and the “Google+ API (Sign-in)”?
The Google+ API (Sign-In) seems to be suited at allowing a developer to integrate the Google login in into their application to allow their app to have an OAuth token to interact with Google services.
The Google+ API on the other hand is just the Google API that allows access to a users Google+ API data, you will need an authentication token to access this data.
The two different quota buckets refer to two different subsets of the API that are available. You can see https://developers.google.com/+/api/#quota for the details, but broadly speaking:
The Sign-In portion applies to methods that specifically need the plus.login scope. These include people.get, people.list, moments.insert, moments.remove and moments.list. This is a much larger quota to encourage people to use these methods.
The other, more broad, bucket is for all other methods, including those for Activities and Comments and a few others for People.

Get all the information on the website through LinkedIn API

I'm working on an app for LinkedIn. I want to access all the information available on the website but the API doesn't return most of them. I was wondering how to get them.
I can use screen scraping but I wonder why the API doesn't return the information when I can easily access it on the website?
For instance this profile has many education information and it's public but none is returned via the API!!!
The LinkedIn API is purposely designed to return certain datasets, some that are only accessible via the website and not the API.
Also, scraping any part of LinkedIn's website or its content is in violation of the LinkedIn API Terms of Use: https://developer.linkedin.com/documents/linkedin-apis-terms-use