Closed xyebizz closed 9 years ago
Hi!
Sorry for a stupid question, previously I used omniauth-twtter and passed configurations like this:
client = Twitter::REST::Client.new do |config| config.consumer_key = "YOUR_CONSUMER_KEY" config.consumer_secret = "YOUR_CONSUMER_SECRET" config.access_token = "YOUR_ACCESS_TOKEN" config.access_token_secret = "YOUR_ACCESS_SECRET" end
and then I used it like client.user("gem")
How can I get the same thing with omniauth-instagram?
Thanks!
The client has nothing to do with Omniauth, that's for authenticating users. What you described is the twitter gem. Take a look at the instagram-ruby-gem if you need an Instagram client.
Hi!
Sorry for a stupid question, previously I used omniauth-twtter and passed configurations like this:
client = Twitter::REST::Client.new do |config| config.consumer_key = "YOUR_CONSUMER_KEY" config.consumer_secret = "YOUR_CONSUMER_SECRET" config.access_token = "YOUR_ACCESS_TOKEN" config.access_token_secret = "YOUR_ACCESS_SECRET" end
and then I used it like client.user("gem")
How can I get the same thing with omniauth-instagram?
Thanks!