search for: graphapi

Displaying 5 results from an estimated 5 matches for "graphapi".

Did you mean: graphapp
2011 Sep 19
7
how to get instance variables in another action in rails 3
In my controller show method i have two instance variables which have large amount of data and take much time to fetch from remote system. shown below def show @graph = Koala::Facebook::GraphAPI.new(session[:fbuser] ["credentials"]["token"]) @friends = @graph.get_connections("me", "friends") @friends =@friends.to_a end in the same controller I have another action which requires same data. shown below def list @graph ||= Koala::Faceboo...
2019 Aug 15
0
Dovecot - Microsoft Azure AD
...thorization procedure to access the user accounts using the Graph API. > > > > > > One would then implement a graph-userdb and no oauth-userdb. OAuth is, as you correctly mentioned, only an authorization mechanism. > > > > > > Here is a link to the GraphAPI: https://docs.microsoft.com/de-de/graph/api/overview?view=graph-rest-1.0 > > > And here is another link to the Graph Explorer, with which you can see how the GraphAPI works: https://developer.microsoft.com/en-us/graph/graph-explorer > > > > > We already use this pro...
2012 May 01
1
uninitialized constant LoginController in Ruby
...protect_from_forgery before_filter :parse_facebook_cookies def parse_facebook_cookies @facebook_cookies = Koala::Facebook::OAuth.new.get_user_info_from_cookie(cookies) end end This is my login_controller.rb class LoginController < ApplicationController def index graph = Koala::Facebook::GraphAPI.new(@facebook_cookies["access_token"]) @likes = graph.get_connections("me", "likes") end I am using Rails 3 and the error I am getting is this: uninitialized constant LoginController in Ruby. I did rake routes and got this: home_index GET /home/index(.:format)...
2019 Aug 14
2
Dovecot - Microsoft Azure AD
Hello, I am currently trying to connect my Dovecot mail server to Microsoft's Azure-AD and use it as password and user database. I am using version 2.3.7.1. Using the Azure-AD as passdb already works. In this context I noticed that the scope implementation is not yet merged. Since I haven't found any hints for an OAuth2 userdb implementation yet, I wanted to ask if there are any plans
2013 May 30
0
Import friends
...my code def facebook_invite friend_id= params[:mail] logger.debug(''CURRENT'') logger.debug( current_user.authentications[0][''token''] ) if( access_token = current_user.authentications[0][''token''] ) @graph = Koala::Facebook::GraphAPI.new(access_token) *@graph.get_connections("me", "mutualfriends/#{friend_id}")* begin *@graph.put_object("me", "feed", :message => "hi, #{current_user.user_name} has sent you request to join my project.")* rescue...