similar to: ruby's oauth2 grant_type

Displaying 20 results from an estimated 100 matches similar to: "ruby's oauth2 grant_type"

2020 Feb 14
0
Dovecot Proxy - Oauth2 mech add custom fields
Hi, I have a problem with configuring dovecot passdb for Oauth2 with keyclock. A user can access more mailbox, mailboxes are associated with the user. When a user login with this method: OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE LITERAL+ AUTH=PLAIN] Dovecot ready. a login mailbox*user password Dovecot when requiring the grant_url send to Keyclock, for example, this post
2011 Aug 19
1
How to post a file via HTTP as multipart/form-data to Facebook?
I would like to post a new photo to a user using `Net::HTTP::multipart` from a Heroku application to Facebook. I have the following JSON object: {"message"=>"My message", "image"=>#<ActionDispatch::Http::UploadedFile:0x00000004242490 @original_filename="neEZYMAnBI.jpg", @content_type="application/octet-stream",
2011 Sep 26
2
undefined method `options' for #<EventMachine::HttpClien
Hi , I am writing a rake task to consume twitter stream API. The task contains the following code: consumer = OAuth::Consumer.new(CONSUMER_KEY, CONSUMER_SECRET, :site => ''http://twitter.com'') access_token = OAuth::AccessToken.new(consumer,ACCESS_TOKEN,ACCESS_TOKEN_SECRET) oauth_params = {:consumer => consumer, :token => access_token} EventMachine.run do # now,
2020 Jul 08
1
Dovecot - Xoauth2 - keycloak
Hello, Still trying to make roundcube / Dovecot works with Keycloak. Dovecot can't seem to validate the access_token that Roundcube gave. ----- Jul 08 20:48:05 auth: Debug: http-client[1]: request [Req1: GET
2012 Oct 16
0
Rails 3 + fb_graph how to get access token to post to my own Facebook page
I am using Rails 3 + fb_graph to post to my own Facebook page. I have code that works, but it uses an access token that only works for a couple of hours. And it is very annoying to refresh this access token a couple of times a day. So I registrated for a FB app. I now have: my_app = FbGraph::Application.new("App ID"); acc_tok = my_app.get_access_token("App Secret"); me =
2013 May 30
0
Import friends
Hi friends, I need send invitation to my facebook friends. i can import all my facebook friends. but when i send a message to particular user this message send all my friends. how can i solved it. Please help me. this is my code def facebook_invite friend_id= params[:mail] logger.debug(''CURRENT'') logger.debug(
2010 Dec 08
0
how to get access token facebook
i am using facebooker and i have session keys need to use Graph API that requires access_token Please suggest me how to get that or how to exchange session keys into access_token of all users Thanks in advance -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2010 Jul 01
6
Close Modalpopup with RJS
hi guys: I''m scratching my head on this one: I have a twitter app where I''m trying to open a modalpopup with a twitter sign in, get them to sign in, then close the popup and refresh the main window. My code however refreshes the main window with the popup window result, which I thought was really strange: application.html.erb function OpenModalPopUP() {
2013 Nov 22
1
Descargar tweets con package twitteR
Hola a tod@s! Estoy dando mis primeros pasos con R, y mi objetivo es conseguir descargar tweets de cuentas concretas de twitter. Encontre documentación sobre el package twitteR, y he intentado aplicarlo, pero siempre tengo problemas a la hora de conseguir la autentificación con OAuth. Este es el código que estoy utilizando: options( RCurlOptions = list(verbose = TRUE, proxy =
2012 May 01
1
uninitialized constant LoginController in Ruby
This is my environment.rb # Load the rails application require File.expand_path(''../application'', __FILE__) # Initialize the rails application Qstack::Application.initialize! require ''koala'' This is my application_controller.rb class ApplicationController < ActionController::Base # protect_from_forgery before_filter :parse_facebook_cookies def
2010 May 06
7
Facebook, authlogic, and OAuth2
Has anyone gotten started with getting the OAuth2 replacement for Facebook Connect working with auth_logic? I know there is an OAuth2 gem (http://intridea.com/2010/4/22/oauth2- gem-just-in-time-for-facebook-graph?blog=company), and I''m thinking of using that to integrate. Anyone know when the Fb Connect API will be shut down? -- You received this message because you are subscribed to
2014 Nov 01
2
Pregunta (creo que simple) para usar twitteR
Hola comunidad, ¿Qué tal? Tengo una duda que creo que es sencilla, pero me veo algo torpe. Estoy tratando de darme de alta para poder acceder, vía R a la api de Twitter, soy un poco novato en esto y por esto lanzo la pregunta. Aunque ya me han ayudado y me han pasado alguno link del pasado, aún no consigo dar con la solución que seguro es algo que se me escapa He usado este código
2014 Nov 01
5
Pregunta (creo que simple) para usar twitteR
Hola Alfonso, buenos días: Lo he probado pero no me va, eso sí ha cambiado el error, el código utilizado es: library(ROAuth)library(twitteR) download.file(url="http://curl.haxx.se/ca/cacert.pem", destfile="cacert.pem") reqURL <- "https://api.twitter.com/oauth/request_token"accessURL <- "http://api.twitter.com/oauth/access_token"authURL <-
2012 Jul 08
0
getting company logo from LinkedIn api
am using linked-in API for getting some information from linked-in. so here i using like this @response = @access_token.get(''http://api.linkedin.com/v1/people/~:(id,phone-numbers,first-name,last-name,skills,positions:(company:(name,id)))'', ''x-li-format'' => ''json''). so i need to get the company logo from my current and previous
2012 Nov 08
1
twitteR return error message
I am new to the packge twitteR when using this package I came across several problems, can anybody help me on those problems? Many Thanks rm(list=ls()) library(bitops) library(RCurl) library(rjson) library(twitteR) library(digest) library(ROAuth) requestURL <- "https://api.twitter.com/oauth/request_token" accessURL =
2013 Jul 25
0
Error al utilizar twitteR
A ver si os sirve. Desde que cambiaron la api a la v 1.1 la identificación a través de la api es obligatoria para poder acceder a información. El proceso que yo sigo es el siguiente: #Se definen los datos de la app registrada en twitter dev tw <- OAuthFactory$new(consumerKey="aquí consumerkey", consumerSecret="aqui consumer secret",
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
Hello, I am building an Rails applications that has to integrate an legacy system (lxoffice) (schema at: http://www.lx-office.org/uploads/media/DB_Schema_2.1.1_R_393_17_03_2005_.pdf). They somehow use global ids (global for some tables). I can not change the schema and still I want to use Rails to access it and not pure SQL. When I try to insert a record I get the following message:
2006 Apr 19
0
My database model''s connection appears messed up.
I am trying to add data from a form, and the rails doesn''t appear to be making any effort at all. I''ve put deliberately erroneous data, but still nothing. All the development log shows is this. This is the code in use - based on the example from Rails book def add_customer_admin if request.get? @login = CustomerAdmin.new else @login =
2015 Jul 24
0
libvirt events and Ruby's EventMachine
Hello, I'm trying to adopt the Ruby event example from here https://www.libvirt.org/ruby/examples/event_test.rb to use EventMachine (a library for writing event driven programs). I have attached my attempt, which appears subscribe to events but never executes the callbacks I provide. I know this because when I reset domains (virsh reset VM) I see messages appear from the
2011 Mar 19
0
Problems with SSL dependent gems OAuth2 & ActiveMerchant
Hello all, My application uses the OAuth2 gem (0.1.1) to connect to Facebook, and the ActiveMerchant gem (1.12.0) to connect to PayPal. Under what is the current Rails/Ruby distribution, both of these gems throw the following OpenSSL::SSL::SSLError when used: * SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed I did some digging, and found two