Closed keval-gangani closed 8 years ago
As you may know, one can translate his linkedin profile in different languages. This parameters is used to get the profile values in the desired language.
You may pass a valid .NET CultureInfo.Name
or null.
LinkedIn recommends the following 6 most common values.
Language | Header Value |
---|---|
English (American) | en-US |
French | fr-FR |
German | de-DE |
Italian | it-IT |
Portuguese (Brazilian) | pt-BR |
Spanish | es-ES |
Thanks for the information but it does not accept null parameter. I'm passing language value like below:
Dim lsLanguage() As String = {"en-US"}
profile = api.Profiles.GetMyProfile(loUser, lsLanguage, FieldSelector.For(Of Person).WithFirstName().WithLastName().WithEmailAddress())
Hi,
What should I pass for "acceptLanguage" parameter inside "GetMyProfile" method?
Please assist!