Tags "oauth" Result

How is OAuth 2 different from OAuth 1?

In very simple terms, can someone explain the difference between OAuth 2 and OAuth 1? Is OAuth 1 obsolete now? Should be implementing OAuth 2? I don't see many implementations of OAuth 2; most are still using OAuth 1, which makes me doubt OAuth 2 is ready to use. Is it? Solution Eran Hammer-Lahav has done an excellent job in explaining the majori

it1352 5 2019-05-08

PHP Oauth gets 401 on PHP 7.3, ok on PHP 7.2 and earlier

I'm trying to use PHP's Oauth module to interact with Etsy's API. Following Etsy's docs, I have <?php if (!extension_loaded('oauth')) { throw new Exception('Oauth not loaded.'); } $oauth = new OAuth("foobar-key", "foobar-secret"); $req_token = $oauth->getRequestToken( "https://openapi.etsy.com/v2/oauth/request_token?scope=email_r l

it1352 3 2020-07-02

Does Oauth 2.0 need consumer key/consumer secret

So evidently when using OAuth 1.0 you need to acquire consumer key and consumer secret from the API provider... But then when I try to use OAuth 2.0 APIs such as Facebook, Google Oauth 2.0, etc I never needed to acquire consumer key/consumer secret (I acquired App ID and App secret for Facebook, but those are different from consumer key/consumer s

it1352 2 2019-05-08

How to post to LinkedIn "Share" with node-auth?

This is what I have, but LinkedIn returns "unauthorized" error back: var OAuth= require('oauth').OAuth; oa= new OAuth("https://api.linkedin.com/uas/oauth/requestToken", "https://api.linkedin.com/uas/oauth/accessToken", "key", "secret", "1.0A", "http://test.com/oauth/callback", "HMAC-SHA1"); var post_data = { share: { "comment":"testi

it1352 0 2020-11-02

Not getting response code on eBay redirect URL

I'm trying to call below link to connect with eBay O'Auth account. https://auth.ebay.com/oauth2/authorize?client_id=' . APP_ID . '&response_type=code&redirect_uri=' . RU_NAME . '&scope=https://api.ebay.com/oauth/api_scope https://api.ebay.com/oauth/api_scope/sell.marketing.readonly https://api.ebay.com/oauth/api_scope/sell.marketin

it1352 0 2020-10-05

Implementing OAuth provider in Java

What is the fastest/easiest way to get an OAuth provider running in Java? Specifically, I need to authorize third-party apps to access certain web services (I'm thinking token authentication using OAuth). I've been looking at Jersey's OAuth extension, but as mentioned here, it doesn't provide a full-fledged Service Provider. Solution There are a

it1352 0 2019-05-08

Twitter Application-android

I am new to twitter .I like to develope one twitter Application. Can anyone tell me: The methods to be used for replying the tweets. How to retweet with userID in arraylist Solution you can use OAuth for your twitter application. You can refer to these links to learn how to make calls using the same http://stackoverflow.com/questions/1634700/a

it1352 0 2019-05-07

OAuth1 in Clojure

I'm trying to integrate with an API (Context.IO) using Clojure. Context.IO uses OAuth 1, which requires to inform consumer key and consumer secret credentials to integrate with. I've manage to work with Context.IO with Node.JS in the past, using request library (https://github.com/request/request). It turn out to be quite simple, just filled consu

it1352 0 2019-05-13