linkedin

Using simpleauth to login in with GAE

大兔子大兔子 提交于 2019-12-10 12:34:59
问题 This question is in the reference of this. As suggested I am using simpleaut h to login via linkedin. Now I am having trouble with the redirect_uri . I have successfully deployed dev_appserver.py example/ but when I click on LinkedIn Oauth2, I get this error. invalid redirect_uri. This value must match a URL registered with the API Key. My redirect uri from url: redirect_uri= http%3A%2F%2Flocalhost%3A8080%2Fauth%2Flinkedin2%2Fcallback And I have entered same redirect url(http://localhost:8080

How to convert Linkedin client in rails to Hash

不羁岁月 提交于 2019-12-10 12:05:18
问题 I create linkedin client like this. client = LinkedIn::Client.new("3333", "rrrrrrr") client.authorize_from_access(session[:atoken], session[:asecret]) and get profile information like this @profile = client.profile when i print the profile like " puts client.profile ", i get the following out put #<LinkedIn::Profile:0x4a77770 @doc=#<Nokogiri::XML::Document:0x253bb64 name="document" children=[#<Nokogiri::XML::Element:0x253b9fc name="pers on" children=[#<Nokogiri::XML::Text:0x253b87c "\n ">, #

Linkedin Share is not fetching the thumbnail image while sharing?

a 夏天 提交于 2019-12-10 12:03:09
问题 I am trying to share linked-in for a page in drupal. In that page there is a image, still the thumbnail image is missing while sharing the page in linked-in. This is my linked-in sharing code. <a href='http://www.linkedin.com/shareArticle?mini=true&url=<?php print $tiny_bit_url;?>&title=<?php print $data->node_title;?>&summary=<?php print $summary; ?>'> <img src="linkedin-icon.png"/> </a> What is that I am missing w.r.t image being shared as thumbnail from that page to linked-in share. Thanks

Can't share using OAuth Starter Kit for LinkedIn

让人想犯罪 __ 提交于 2019-12-10 11:49:20
问题 I use OAuthStarter Kit for accessing the LinkedIn API. I get an access token successfully for the permissions. rw_ns r_basicprofile r_fullprofile It is possible to get the profile details as well as to share only comments and while sharing URL or image or description etc... I using following code: -(void)postUpdate { NSURL *url = [NSURL URLWithString:@"http://api.linkedin.com/v1/people/~/shares"]; OAMutableURLRequest *request = [[OAMutableURLRequest alloc] initWithURL:url consumer:[self

How to get logged in user's complete profile information using gem 'linkedin', :git => “git://github.com/pengwynn/linkedin.git”?

血红的双手。 提交于 2019-12-10 11:48:51
问题 I am using gem 'linkedin', :git => "git://github.com/pengwynn/linkedin.git" when i create client and get profile i get the following values headline: url: last_name: first_name:summary my question is how to get user's picture-url,public_profile_url: location: country: school_name: degree: field_of_study: start_date: end_date: 回答1: use picture_url like follows client.profile(:fields => [:headline, :first_name, :last_name, :picture_url,:educations, :positions])client.profile(:fields => [

Linkedin not getting thumbnail image

懵懂的女人 提交于 2019-12-10 11:46:03
问题 Everytime i try to share a wordpress post in my Linkedin it doesn´t pick up the imagem in the article. Don´t have any problem doing this on Facebook for example and i think everything in the Open Graph Meta is correct because my source code says: meta property="og:image" content="http://smartkiss.net/assets/online-ad.jpg" The dimensions are more than 80 x 150 pixels as Linkedin recommends. Any idea why this might be happening ? Thanks 回答1: Try serving your images in a .png format versus a

Incorrect sorting on retrieve shares via api.linkedin.com/v2/shares

半世苍凉 提交于 2019-12-10 11:32:12
问题 According to the documentation, shares are ordered by creation time with the most recent share being the first. But when I request shares, they received with sorting by last modified time . Example: https://www.linkedin.com/company/cadencepcb/ Request: curl -H "Authorization: Bearer TOKEN" -H "Accept: application/json" "https://api.linkedin.com/v2/shares?owners=urn:li:organization:28610896&q=owners&sharesPerOwner=10&start=0" Response: receive list of shares with this sequence: Created: 05/27

LinkedIn Integration r_network and w_messages request not working together in iOS sdk

为君一笑 提交于 2019-12-10 11:05:28
问题 I have done LinkedIn integration and I have to send message to particular users.For that first I am fetching connections and then sending messages. (void)requestTokenFromProvider { OAMutableURLRequest *request = [[[OAMutableURLRequest alloc] initWithURL:requestTokenURL consumer:self.consumer token:nil callback:linkedInCallbackURL signatureProvider:nil] autorelease]; [request setHTTPMethod:@"POST"]; OARequestParameter *nameParam = [[OARequestParameter alloc] initWithName:@"scope" value:@"r

Linkedin V1 update-comments-as-company api throws 500 error code

浪尽此生 提交于 2019-12-10 10:26:29
问题 We are using Linkedin v1 api update-comments-as-company endpoint to post comments on behalf of company page managed by the user. Nowadays this endpoint throws 500 error response while trying to add comment. Example request: curl -X POST -H "Authorization: Bearer xxxx" -H "Content-Type: application/json" -H "x-li-format: json" 'https://api.linkedin.com/v1/companies/12345/updates/key=UPDATE-c12345-640455667889990765/update-comments-as-company' --data '{"comment": "Posting as a company!"}'

Unable to access Linkedin profile with valid oauth2 access token

こ雲淡風輕ζ 提交于 2019-12-10 10:19:03
问题 I am having the same problem that is described in LinkedIn OAuth2: "Unable to verify access token"; however, the solution described there does not fix my problem. I am able to successfully request an access token; however, when I make a request with it (using either the Authorization header or the oauth2_access_token query param), I get a 401 failure: $ curl "https://api.linkedin.com/v1/people/~?format=json&oath2_access_token=############" { "errorCode": 0, "message": "Unable to verify access