{"id":3575,"date":"2014-03-28T11:02:33","date_gmt":"2014-03-28T11:02:33","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/28\/problem-about-rauth-collection-of-common-programming-errors\/"},"modified":"2014-03-28T11:02:33","modified_gmt":"2014-03-28T11:02:33","slug":"problem-about-rauth-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/28\/problem-about-rauth-collection-of-common-programming-errors\/","title":{"rendered":"problem about rauth-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/d42f9f903279df2c1c9596ccef07065d?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJim Steil<br \/>\npython linkedin rauth<br \/>\nI have recently taken over support for an app that uses rauth to connect to linkedin. The code that is failing is:self.linkedin= OAuth1Service( name=&#8217;linkedin&#8217;, consumer_key=self._consumer_key, consumer_secret=self._consumer_secret, request_token_url=self.request_token_url, access_token_url=self.acces<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/b683040b04cc96d7f4a674cd9cf05bed?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nt_-_t<br \/>\noauth-2.0 linkedin rauth<br \/>\nI am trying to connect to LinkedIn using the OAuth2Service provided by rauth. I successfully retrieve the access token. To do so, I configured a specific decoder for the json response.json_decoder = json.loads params = {&#8216;decoder&#8217;: json_decoder} session = linkedin.get_auth_session(data=data, **params)But when doing the API call via r = session.get(&#8216;people\/~&#8217;, data={&#8220;x-li-format&#8221;:&#8217;json&#8217;},) the following response is coming back:&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;UTF-8&#8243; standalone=&#8221;yes&#8221;?&gt; &lt;erro<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jim Steil python linkedin rauth I have recently taken over support for an app that uses rauth to connect to linkedin. The code that is failing is:self.linkedin= OAuth1Service( name=&#8217;linkedin&#8217;, consumer_key=self._consumer_key, consumer_secret=self._consumer_secret, request_token_url=self.request_token_url, access_token_url=self.acces t_-_t oauth-2.0 linkedin rauth I am trying to connect to LinkedIn using the OAuth2Service provided by rauth. I successfully retrieve the access [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3575","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3575"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3575\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}