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
0
votes
1 answer

Determining if users are facebook friends (Parsing)

I'd like to find out if the current user is friends with the root node user, using Koala, and if so, print a statement saying: you are friends. My problem is the parsing of data returned from facebook. user.rb def facebook @facebook ||=…
0
votes
1 answer

How to set up my Facebook app to allow user wall posts?

I'm trying to post a Facebook wall post from my Ruby script (I'm using koala gem). I was able to successfully login to Facebook and get my user token. However, it won't allow to do a wall post because my Facebook app is not set in a way with…
sameera207
  • 16,547
  • 19
  • 87
  • 152
0
votes
1 answer

Accessing Koala Facebook Graph API Response in Rails

I use Koala gem to access Facebook graph api and it returns a hash which I am trying to access my rails view. I get most other elements of the hash but the actions array continues to throw errors. I am sure I am not accessing it right. Here is the…
0
votes
1 answer

how to fetch facebook friends list by Ruby

I'm trying to use facebook graph api to get a user's friend list. But my app can only list the first user's friend list. For example, when I open user 6's friend list 6, it will show the friend list 1's content. Does anybody know why? I appreciate…
0
votes
1 answer

What is the API class that i might have to use?

irb(main):006:0> @graph = Koala::Facebook::GraphAPI.new KOALA: Deprecation warning: Koala::Facebook::GraphAPI is deprecated and will be removed in a future version; please use the API class instead. => #
punitha
  • 3
  • 7
0
votes
1 answer

Facebook realtime is giving different parent id

Following is the JSON which i have received from realtime update {"id":"this is the page…
yednamus
  • 582
  • 1
  • 4
  • 22
0
votes
2 answers

Put_connections to create a new event with Koala?

I'm trying to create a new event using the Koala gem and it's returning with the same error I got when I tried to update an event with an incorrectly formatted datetime value. I can update just fine now but still cannot create an event. Here's the…
j0e
  • 1,441
  • 1
  • 15
  • 17
0
votes
2 answers

Posting to FB using Graph API

I want to make a facebook post once a day using a ruby script and the Koala gem. I want to be able to set it up once and not have to keep changing the access toekns. After reading some posts and Facebook documentation around Access Tokens I…
0
votes
1 answer

How to pass Facebook omniauth token to koala in another controller within a ruby app?

i am new to ruby environment. In my ruby app, i am authenticating the user using omniauth and i am able to save the facebook token for the logged in user and the problem is i want to pass this token information as parameter to koala which resides in…
0
votes
1 answer

Unable to add users to Facebook Custom Audience through Koala gem

I am unable to add users to a custom audience. I am getting a return value of true (success), however after waiting, no users are ever added to the list. I have used the same list through the power editor and have 90% matches, however when the same…
0
votes
1 answer

Fetch Facebook public page content in rails application

I need to fetch content(posts) of a facebook public page in my rails application. And we dont provide FB login functionality. How this can be achieved from server side, any approach for implementing this with Koala.
0
votes
2 answers

How do I post an image using Koala gem?

I'm using the Koala gem to post images to the Facebook wall with the put_object method. The problem I'm having is that the images show up as thumbnails on the wall (with a caption) instead of the larger image that I'm expecting. When you click on…
soppliger
  • 31
  • 1
  • 9
-1
votes
1 answer

Ruby on Rails view Facebook Event without user login

I'm putting together a website which displays Facebook events using Ruby on Rails and Koala. I can display an event just fine if I do the following: graph = Koala::Facebook::API.new(auth_token) fb_event = graph.get_object(some_event_id) But as…
orrymr
  • 2,264
  • 4
  • 21
  • 29
-1
votes
1 answer

I can not like facebook post in my rails application

I want to like a facebook post in my rails application but I get the error: Koala::Facebook::ClientError: type: OAuthException, code: 200, message: (#200) Permissions error [HTTP 403] my omniauth file includes: provider :facebook_writer,…
Sergii Naumenko
  • 95
  • 1
  • 10
-1
votes
1 answer

how to tag a facebook profile from graph api

I want to post to a facebook page through API. I created a access token in the graph api explorer. I am able to successfully post to a page. I am trying to mention a person I am not able to. The old @[id:name] is not working. But there seems to be a…
Aravind
  • 1,391
  • 1
  • 16
  • 41