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
9
votes
2 answers

Facebook Graph API 2.0 creating Events

According to facebook, as of April 30th 2014 the create_event method is no longer available which I assume means no ability to publish events? https://developers.facebook.com/docs/apps/changelog create_event is no longer available. Is it still be…
holden
  • 13,471
  • 22
  • 98
  • 160
8
votes
2 answers

OAuthException: This authorization code has been used - Facebook

It seems like Facebook's new release on December 5th is causing some issues for me. Is anyone else getting this error? Koala::Facebook::APIError (OAuthException: This authorization code has been used.) I am able to oauth, but when I issue a call,…
user749798
  • 5,210
  • 10
  • 51
  • 85
5
votes
0 answers

Facebook opengraph (#2) Service temporarily unavailable

i have an app on which users post their shows. I want to add rsvp_events so that users can post their activity on facebook whenever they click on going button. I have setup everything, everything seems ok, but when i try to post the activity on…
Hamza Khan
  • 1,321
  • 11
  • 15
5
votes
1 answer

How to get localized values from Facebook Open Graph API through Koala?

I am using the koala gem in my rails app to use the Facebook Open Graph API. The primary language of the app is German. Is there a way to set a locale to get e.g. the user's current city in German? Or is there another reliable wa to translate…
Martin Labuschin
  • 516
  • 4
  • 16
4
votes
1 answer

Creating Relationships in Neo4J model with after_save

So I apologize for how noobish these questions may seem. I'm new to rails and as a first task I also brought in Neo4J as it seemed like the best fit if I grow the project. I'll explain the flow of actions then show some example code. I'm trying to…
Clam
  • 935
  • 1
  • 12
  • 24
3
votes
1 answer

Unable to get feeds from the facebook using koala for rails 4

Hi I am using Koala gem and graph API for getting the Facebook information. Here is sample implementation def facebook_profile a_token = current_user.facebook_oauth_setting.access_token @graph = Koala::Facebook::API.new(a_token) …
3
votes
3 answers

How to get user posts Insights from Facebook API Koala Gem

Hi I am wondering how to get user posts insights from Facebook API Koala Gem. I only found solutions that works for facebook page posts but not user posts. I used the code below for user posts but it just returns empty…
3
votes
2 answers

How to subscribe to facebook realtime updates of a specific page's conversations

I'm trying to figure out how to subscribe to realtime updates to a page I have an access_token for (but not my app's page). I'm using the Koala gem and everything seems fine but I can't seem to figure out how to specify which page I want to…
Matthew Berman
  • 8,481
  • 10
  • 49
  • 98
3
votes
2 answers

Koala - get number of likes for a post

I'm facing an issue using Koala 1.7.0rc1 and the new Facebook graph api. I'm trying to retrieve number of likes for a post using this request [object_id]/likes?summary=1. This query works in Facebook Graph Explorer but I cannot access 'summary'…
titibouboul
  • 1,348
  • 3
  • 16
  • 30
3
votes
1 answer

Rails 3.2 Devise Omniauth-facebook and koala

I am trying intergrate Koala into a devise omniauth-facebook app. For some reason i cannot post to user's wall. I created a second app which doesn't use devise and all works and i realise that the only difference is that oauth_expires_at I am having…
2
votes
1 answer

Facebook graph API returning incomplete object after upgrading from 2.3 to 2.4

I'm trying to upgrade my Facebook GraphAPI version. I'm using the koala gem and this only occurs when upgrading from the api v2.3 to anything greater. With v2.3 I make the following request and get the following response: @graph =…
user2954587
  • 4,661
  • 6
  • 43
  • 101
2
votes
0 answers

How do I generate Facebook Page Access Tokens for subscribing a page to a webhook

I want to be able to do this programmatically. I am currently using the Koala gem like this page_token = @user_graph.get_page_access_token(page_id) but page_token doesn't work when I use it to subscribe the page to my messenger bot. However, the…
echan00
  • 2,788
  • 2
  • 18
  • 35
2
votes
1 answer

How to deauthorize User Facebook Permissions using Koala gem

I am using Koala to handle FB calls. Everything is working fine except I can't figure out how to deauthorize a user's FB permissions. The equivalente REST call would be to: DELETE /{user-id}/permissions/{permission-name} The Koala wiki indicates…
2
votes
1 answer

Obtain a Facebook app access token using Koala and Ruby on Rails

I've been trying to use my RoR app to connect to the Facebook API for a day without any luck. I'm using Ruby on Rails and Koala. If I try to connect as follows: graph = Koala::Facebook::API.new(User_Token) Then there is no problem. (Where user…
orrymr
  • 2,264
  • 4
  • 21
  • 29
2
votes
1 answer

How to mention a Facebook Page as a test user with the Graph API

I understand that in order for me to mention a Facebook page before submitting it for approval I must be posting as a page I admin, tagging a page I admin and using an app I admin - otherwise, the tags are not applied. The problem with this is that…
1
2 3 4 5 6 7