koala checkin not working in production

41 views
Skip to first unread message

Harshit rastogi

unread,
Jan 15, 2013, 7:12:33 PM1/15/13
to koala...@googlegroups.com
Hi,

I am trying to get the list of checkin from FB . This seems to work on local env but when i deploy to Herkou I get an empty list back.

session['oauth'] = Koala::Facebook::OAuth.new(Facebook::APP_ID, Facebook::APP_SECRET, Facebook::CALLBACK_URL + 'welcome/callback/')
    puts "login called from welcome"
redirect_to session['oauth'].url_for_oauth_code(:permissions =>'user_checkins')
 
 graph = Koala::Facebook::API.new(session["access_token"])
    
    checkinlist = graph.get_connections('me','checkins')
    puts checkinlist
    puts checkinlist.size
    puts "checking list"

The oauth is happening correctly since i am able to login to the app.

Is FB blocking Herkou? 
 
Reply all
Reply to author
Forward
0 new messages