Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to change the default values of start and count parameters when picking the companies followed by a user in linkedin?
    primarykey
    data
    text
    <p>I am making a web-application in ASP.NET. I have used oauth to get profile fields of a user. I need the names of the companies followed by the user, but the problem is that the default value is set to 20. so, if the user is following more than 20 companies i am not able to get it. Please tell me how can i modify the start and count values. Iv used this url to make the call <a href="http://api.linkedin.com/v1/people/~:(following:(people,companies,industries,news-sources),educations" rel="nofollow">http://api.linkedin.com/v1/people/~:(following:(people,companies,industries,news-sources),educations</a>).. Please help asap.. </p> <pre><code>var requestHeader = GetUserProfileAuthorizationHeader(); var queryString = CreateQueryString(); var request = WebRequest.Create(RequestProfileUrl + queryString); request.Headers.Add("Authorization", requestHeader.ToString()); request.Method = HttpMethod.Get; try { var response = request.GetResponse(); using (var responseStream = response.GetResponseStream()) { var reader = new StreamReader(responseStream); var responseText = reader.ReadToEnd(); reader.Close(); return responseText; } } </code></pre> <p>Here <code>public static string RequestProfileUrl = "http://api.linkedin.com/v1/people/~:(following:(companies:(id,name,size,industry),industries))";</code> And the method CreateQueryString() does this <code>queryString = "?format=xml";</code> whenever i try to add something like <code>queryString = "?format=xml&amp;start=0&amp;count=40";</code> it gives error dispite the number of companies followed being more than 60.. maybe i need to pass the query parameters in between the RequestProfileUrl i.e near the company somehow..</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload