Questions tagged [koala-gem]

Koala is a Ruby gem for integrating Facebook connectivity into Ruby, and Ruby on Rails applications.

You can find out more about Koala here. It's a Facebook library for Ruby, supporting the Graph API (including the batch requests and photo uploads), the REST API, realtime updates, test users, and OAuth validation.

93 questions
1
vote
1 answer

Delayed_job infinite loop

I am using delayed_job_active_record to schedule quote from my app to be tweeted and shared on FB. The quote created can have 3 status: Draft where it's just to be saved Published to publish directly on my app and twitter and facebook Scheduled to…
1
vote
4 answers

how to search for pages with koala

I'm trying to using Koala gem to search for facebook page, like this @graph.get_connection('search', movie_name) but I got this /Users/luizeduardo/.rbenv/versions/2.2.3/lib/ruby/2.2.0/uri/generic.rb:1100:in rescue in merge': bad URI(is not URI?):…
Luiz E.
  • 6,769
  • 10
  • 58
  • 98
1
vote
1 answer

Can I renew facebook token automatically?

I am working on collaborative web platform by ruby on rails and it's connected with facebook app (v2) by Koala gem.. When a user register by facebook account, there is facebook token (expire after 60 days) The questions: 1- when and how renew the…
Yaman ALTareh
  • 286
  • 3
  • 12
1
vote
0 answers

facebook call-to-action button for posted item

I am posting created product to facebook which is successful....now I want to add call-to-action button on that posted product to facebook, something like buy now or shop now button. Did anyone have used call to action button with koala gem? Here…
przbadu
  • 5,769
  • 5
  • 42
  • 67
1
vote
1 answer

Rails Koala gem how to post a link to my page

I can post a message to my page using this, but how do I post a url, with an image and a link to the url. @page.put_connections('me', "feed", {:message => "Page writting to dduser's wallxxxcdcds!"})
user1883793
  • 4,011
  • 11
  • 36
  • 65
1
vote
2 answers

Rails, Koala: facebook access token expires very soon, how to make it longer

Im new with all this about Koala and Facebook, Im having a problem with facebook access token. I have to generate a new access token for my app avery 60 minutes, because after that time I get the error that my access token has expired. I user…
svelandiag
  • 4,231
  • 1
  • 36
  • 72
1
vote
0 answers

Koala facebook graph API query

How do I construct a search with koala's syntax for users by their email, city, firstname and lastname. The syntax documentation for graph API and koala are sparse, simplistic, or cover the url string syntax, and not the koala syntax. Can someone…
ahnbizcad
  • 10,491
  • 9
  • 59
  • 85
1
vote
0 answers

Facebook friends retrieved with koala are less than Facebook the number Facebook shows

I have 616 Facebook friends and Koala gem returns only 601. Here is the code I use: if user.facebook_identities.present? token = user.facebook_identities.first.token secret = GetFacebookEntry.new.execute[1] graph =…
Boti
  • 3,275
  • 1
  • 29
  • 54
1
vote
1 answer

Reading comments for a FB post with Koala gem with Rails 4

I have a rails4 app, from which I can put a wall post to logged in users facebook wall. Now what I want to do is read the FB comments for that given post and show then in my application. I'm using Rails 4 and koala gems. Following is my…
sameera207
  • 16,547
  • 19
  • 87
  • 152
1
vote
1 answer

Koala Gem get page insights

I am using the Koala gem, and currently trying to get some of the Page insights like impressions etc.. I am presently using the below, which only seems to be returning [] def page_impressions page_id @user_graph =…
Boss Nass
  • 3,384
  • 9
  • 48
  • 90
1
vote
1 answer

koala Facebook events api

I'm trying to use the FB Events API (v1) to publish events which works great. https://developers.facebook.com/docs/graph-api/reference/v1.0/page/events Everything works... except, I can't get the no_feed_post method to work. The Event posts…
ere
  • 1,739
  • 3
  • 19
  • 41
1
vote
1 answer

Rails, send data to a facebook app and get this data on my app

I know that I need to use the data like this, in order to send data to my facebook canvas app: FB.init({appId: '#{Facebook::APP_ID}', xfbml: true, cookie: true}); FB.ui({ method: 'apprequests', message: 'Invite Friends to Blabloo...', …
Jean
  • 5,201
  • 11
  • 51
  • 87
1
vote
1 answer

How to write a query for Facebook insights in Rails with Koala gem?

I tried without success to write some query in Rails with Koala gem to get data form Facebook Insights for pages. Can someone help me to write query for URL like this: https://graph.facebook.com/[Page-ID]/insights/page_fans I tried: …
1
vote
1 answer

How to use koala gem to delete Facebook comments

I am trying to use koala gem to delete my own comments on Facebook. The comment id is correct and I can delete it in Facebook graph explore. And the authentication part works because I can post,put_like and delete_like. When I…
Runbai Ma
  • 141
  • 1
  • 5
1
vote
2 answers

Facebook Permissions - how to add extended permissions on a per-user basis after sign in

I have a rails app that uses Facebook login with the very basic permissions: email,user_photos,user_birthday. It appears that asking users for extended permissions like publish_stream really drops the sign-up rate to my app (and it makes sense - I…
sa125
  • 28,121
  • 38
  • 111
  • 153