Share on LinkedIn available comment length on new UI - linkedin

The LinkedIn API documentation specifies that requests to Share on LinkedIn have a maximum user comment length of 700 characters.
For users on the old LinkedIn user interface, posts made through the Share on LinkedIn API display the full comment length. Users on the new LinkedIn UI, however, have the comments on their shares made through the API truncated at 256 characters. Users on the new UI have the full 700 character length when posting directly on linkedin.com.
Is this a bug in the API? Is the documentation out-of-date?

In more recent testing I found that the posts showed the full 700 character length in the new UI. It looks like this is no longer an issue.

Related

Using LinkedIn API to retrieve advertising reports

I'm working on a simple app to programmatically retrieve ads performance within Linkedin. I have general API experience but this is the first time i get my feet wet with the Linkedin API.
One example from Linkedin API documentation suggest something that would get me started:
GET https://api.linkedin.com/v2/adAnalyticsV2?q=analytics&dateRange.start.month=1&dateRange.start.day=1&dateRange.start.year=2016&timeGranularity=MONTHLY&pivot=CREATIVE&campaigns=urn:li:sponsoredCampaign:112466001
I am encountering two problems:
First this example implies that you already know the campaign ID. However I am unable to find a way to retrieve a list of campaign ID's for a given account.
Second, if I manually pull a campaign ID, I receive an error: "{"serviceErrorCode":2,"message":"Too many fields requested. Maximum possible fields to request: 20","status":400}". Pretty clear error.
A little research tells me that by adding the parameter "&fields=" I will be able to limit my query to less than 20 field (I really need only a dozen anyway) but I can't find and documentation regarding the names of the fields available.
Any help or pointer will be appreciated.
please refer the link below scroll down where you ill see the field names mentioned as metrics , these are the fields.
https://learn.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ads-reporting?tabs=http#analytics-finder

Can the LinkedIn API return a list of a user's saved articles?

The LinkedIn docs for the articles API show that I can get a particular article's content etc. by doing a
GET https://api.linkedin.com/v2/originalArticles/{originalArticlesId}
But it's not clear to me where I get that originalArticlesId from. How do I list the articles that any given user has saved?
The LinkedIn API does not yet provide that functionality. The closest you can get to what you are looking for is to get the articles published by a particular author.
GET https://api.linkedin.com/v2/originalArticles?q=authors
I think that if you want to have this functionality you will have to do a scraping of the profile of the person who requires this functionality.

(Why) 'dont my credentials authorize access' to any descriptive meta resources from the HERE-api?

Yesterday I registered with HERE to experiment on Traffic/Flow data.
I registered with both the 'Public Basic plan' as well as the '90-day evaluation'. I managed to perform some basic query's and also got results but the next step was to understand the output.
The official way to get descriptions on the output data is described here:
https://developer.here.com/rest-apis/documentation/traffic/topics/additional-parameters.html.
I simply substituted my credentials in the the https://traffic.cit.api.here.com/traffic/6.0/xsd/flow.xsd?app_id={YOUR_APP_ID}&app_code={YOUR_APP_CODE} URL and pasted in my browser. But the only result I get for every xsd is:
"error:These credentials do not authorize access. Please contact your customer representative or submit a request here developer.here.com/contact-us to upgrade your account. You can also get valid credentials by registering for a free trial license on developer.here.com.,error_description:NA" . So apparently I am authorized to use the api but not authorized to get information on how to interpret the results...?
I already found out the many abbreviation are explained on Interpreting HERE Maps real-time traffic tags but I found a few that weren't described, like <SSS> and <SS>.
Thanks in advance.
UPDATE: Apparently I was already voted down on the question. What am I doing wrong?
The Description of SS/SSS tag is here:
The SS (SUB_SEGMENT) will be provided if the current traffic data is
more precise than the road defined. When there are SS elements, the
elements will be ordered by driving direction. If there are SS
elements, the lengths (LE) of all SS elements will add up to the
length of the roadway represented from the corresponding CF section.

Can I get the companies a user is admin of AND their picture urls via LinkedIn API?

Using LinkedIn API Documentation for company pages, I know how to retrieve :
The list of companies a user is admin of
Several profile fields for each individual company
Can I do that in one call instead of N+1 calls ?
Well, I ended up answering my own question pretty quickly. Calling the API in the following way gives you the list of companies AND the list of profile fields you need :
https://api.linkedin.com/v1/companies:(id,name,ticker,description,website-url,square-logo-url)?format=json&is-company-admin=true

post/send updates or messages to fans(who likes website) not as user

I have simple website for auctioning.I want people who likes my website needs to be informed about any new auctioning. And sending messages or post updates to their news feed or post on their wall when they win the auction. The user can also share the story of a new auction to their friends.
For this Do I need separate canvas app ?
I went through the documentation http://csharpsdk.org/. Also I read official graph api docs.
I thought there will be lists of classes in a namespace and its use. Lists of methods, properties in a class and its uses and explanation for parameters.
I cant find such documentation for facebook c# sdk. In official docs they only have 5 articles in which 3 are [TO-DO].
I cant find what are the classes are there?
what are the purpose of
the particular class or method ?
For informing about new Auctioning and winning news what can be used ?
sending mesages
post on their news feed
post on their wall(or timeline)
I found how to post on behalf of the user. But I need to inform the fans of my website when there is a new auctioning. How to do it?
Winning an auction
About generating user actions on their walls about winning auctions and stuff, you need to look at facebook open graph
For informing about new Auctioning and winning news what can be used ?
#1 sending messages is not possible
Notifying users
For sending notification to users about new auctions, you need to use apprequests
But apprequests are only for canvas apps, apart from this I don't thing you have a chance of notifying the user, unless you store their emails id and notify them.
Hope this helps

Resources