Questions tagged [koala]

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.

387 questions
6
votes
3 answers

Getting SSL Error Using Koala with Devise & OmniAuth in a Rails 3 App

I'm building a Rails 3 app using Devise/OmniAuth, and Koala and I'm getting the following SSL error: OpenSSL::SSL::SSLError in Users/omniauth callbacksController#facebook SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B:…
vansan
  • 762
  • 7
  • 17
6
votes
2 answers

Doesn't compile SCSS after update OSX to 10.13 (macOS High Sierra)

Koala version: 2.2.0 Error message: /scss/styles.scss /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems/dependency.rb:319:in to_specs': Could not find 'sass' (>= 0) among 15 total gem(s) (Gem::LoadError) Checked…
Delowar Hosain
  • 2,214
  • 4
  • 18
  • 35
6
votes
2 answers

koala get likes on post

i am currently using the koala, and all seems to be working, though when attempting to use the following to gain the likes on a certain posts all i seem to be getting is the array of items code within application helper def facebook …
Boss Nass
  • 3,384
  • 9
  • 48
  • 90
6
votes
1 answer

Post multiple pictures with Koala::Facebook::GraphAPIMethods#put_connections

I want to post multiple pictures to my facebook group with Koala#put_connection or more specific methods like #put_picture. Example of single picture posting: graph = Koala::Facebook::API.new(token) graph.put_picture("picture_url", {:message =>…
lPotatoes
  • 129
  • 5
5
votes
2 answers

Rails -- uninitialized constant error for newly installed gems

I'm having trouble using newly installed gems - I think there must be something I'm missing, because I ran across the same error with both fb_graph and koala. I added the gem to my gemfile and then bundle installed it. I thought that was all you…
Kvass
  • 8,294
  • 12
  • 65
  • 108
5
votes
1 answer

How to embed my own HTML5/flash video player in facebook wall post (using rails + koala)?

I would like to embed my own HTML5 (with a flash backup) player on a Facebook wall post. I'm using rails and ruby Koala. I have seen this: https://developers.facebook.com/docs/share/ for meta tags that can be added, but it's either for a link to my…
Moozly
  • 192
  • 1
  • 9
5
votes
2 answers

Deprecated offline_access on facebook with RoR

We have a problem in our RoR app. We are using a facebook authentication with omniauth, and searching the user friends with Koala. But lately, when we try to show a friend photo, we got this error: Koala::Facebook::APIError in Homes#show Showing…
Dagosi
  • 948
  • 2
  • 11
  • 25
5
votes
1 answer

How can Koala API requests and replies be recorded?

I use Koala in an application that interacts with Facebook through API calls. I want to record the raw HTTP requests that Koala generates as well as the responses Facebook sends back in a database. How can I grab these strings so that I can save…
TimeEmit
  • 4,516
  • 4
  • 18
  • 19
5
votes
2 answers

How to configure Koala Sass auto compile on partials changes?

I'm using Koala for Win64 to compile sass (with lot of partials) to css with no problems, but Koala auto compile function is only runs when there are updates in root scss file, so I need to open Koala and press 'compile' button every time when I…
user3058355
  • 51
  • 1
  • 3
5
votes
1 answer

Facebook tests users with user to user requests

I asked this question last week but only got 8 views. A part of the application I'm working on requires creating a ton of user-to-user requests and validating they all get processed correctly in the application. This requires countless hours of QA…
gmalette
  • 2,439
  • 17
  • 26
5
votes
1 answer

Trying to extend Facebook oauth token using Koala gem

In reference to: http://rubydoc.info/github/arsduo/koala/master/Koala/Facebook/GraphAPIMethods#graph_call-instance_method http://developers.facebook.com/roadmap/offline-access-removal/#extend_token My code looks something like this: fb =…
John Lee
  • 1,241
  • 2
  • 16
  • 29
5
votes
2 answers

put_connections() to Facebook graph in Koala fails after a very long delay

I am using Rails 3.2.5 and Koala 1.3.0 (not the latest, because the latest refuses to run even the sample Facebook app from Heroku). Web server is Unicorn. When I try to POST to timeline using put_connections(): @fbgraph =…
edwinbs
  • 525
  • 3
  • 14
4
votes
1 answer

Using Koala, how can I attach an image when I publish to a user's stream?

I've started to play with the Koala gem for a RoR app. I've already got permission from the user to publish to their stream After this line graph = Koala::Facebook::GraphAPI.new(@facebook_cookies["access_token"]) to post to the stream, I can do…
bachposer
  • 953
  • 3
  • 8
  • 17
4
votes
3 answers

How to add an app to a page via Graph API? (with Koala gem)

Ok, I have a Rails app using the Koala gem. I have manage_pages permissions and I'm able to successfully get the user's pages and access_tokens. I want to add an application with a Page Tab to one of the user's pages. Basically the equivalent of…
Callmeed
  • 4,972
  • 5
  • 34
  • 49
4
votes
2 answers

Facebook Graph API Linebreak

I know there are a slew of questions about this already--but I'd like to add linebreaks to Facebook wall posts that are being posted via the Graph API. I've seen a variety of answers suggesting using
, but that doesn't work for…
ideaoforder
  • 1,023
  • 2
  • 9
  • 23
1
2
3
25 26