0
votes
0answers
7 views

How to post a story in facebook using ruby (fb_graph)?

I use fb_graph to create a post in facebook account. It works fine. me = FbGraph::User.me(session[:fb_token]) me.feed!( :message => 'This is test message', :link => 'http://site.com', :name ...
0
votes
0answers
46 views

Custom link in an open graph story

I'm building a facebook app which uses open graph to publish stories. I can successfully publish the stories but what I want to do is to customize the link in the story(detailed in the given image). ...
0
votes
2answers
94 views

Login with facebook on native android app and send access token to remote server

I'm new to oauth concept. I'm working on an android app which uses facebook login to authenticate. After the authentication is done I want to send the access token to my remote server and make API ...
1
vote
0answers
29 views

Facebook oauth dialog POST method for return uri

Short version Is there a way to have facebook POST back to your return url from their oauth dialog after logging in? With background story I am developing a Rails application in which a user can ...
5
votes
1answer
32 views

Comment on a Facebook post Using Api

My code is this request_url = "https://graph.facebook.com/378389388847425_614638371889191/comments?access_token=user_access_token&message=wow" uri = URI.parse(request_url) http ...
0
votes
0answers
12 views

“See full review” link in the review text for video.rates does not show

Recently I used rottentomatoes facebook app to review movies. When I review a movie, rottent tomatoes creates the following story. If you look closely there is a "see full review" link at the end ...
-1
votes
0answers
22 views

Can we store a custom value for a facebook page tab so that we can get that value through app_data or the signed_request?

I have facebook page tab app. On hitting this app from a page it will send a signed request to my landing page. I was wondering if it possible to set some custom data (say company name) while adding ...
0
votes
1answer
57 views

Server-side Facebook app invites (with Rails and Koala)

When someone authorizes our app they fill out a form which includes some information and a custom friend selector. Form is submitted to the server and that's when I'd like to send out the app invites ...
2
votes
0answers
79 views

FbGraph OAuthException Invalid OAuth access token

I am using FbGraph in my Ruby on Rails app along with Omniauth. I am using the server-side method to get the long-term (60 day) access token for the user and then storing it in a session variable. ...
-1
votes
0answers
18 views

get user events without pagination

I'm doing this to get user events @api.get_connections("me", "events/not_replied") but I only get 25 of them. I guess it's due to pagination. How can I retrieve all the results thx for your ...
0
votes
0answers
15 views

Facebook Opengraph: handling continuous quantity objects like “burning calories” or “earning points”

I'm currently working on a Rails project for a retail client who is planning to publish points earned from their loyalty scheme to FB using OpenGraph. I've started to investigate this now and have ...
0
votes
1answer
97 views

What is the best way to store a user's Facebook friends list in my database?

Overview I'm creating a Ruby on Rails website which uses Facebook to login. For each user I have a database entry which stores their Facebook User ID along with other basic information. I'm also ...
0
votes
1answer
30 views

Difference between Facebook graph and Koala rails

I am using devise as a way to use authentication for login and logout. However I am confused on how to post on a friends wall about my application. 1- If I use devise and Omniauth this allow me to ...
4
votes
1answer
92 views

Facebook API Publish feeds in Group

I am posting some feeds on my pages thru facebook API which are published normally. but those posts are appears on my fans feeds, (may be irritate them if these are too much in numbers, you can ...
2
votes
0answers
53 views

Facebook's api- wall updates(photo) with hover state

I'm not sure if this is the best place to ask this question but how does pict.com post a photo that has an hover effect on the user's facebook feed? I've been researching for 2 days now, i know ...
0
votes
0answers
49 views

Graph API POST to Add App to Page Tab

Very annoying problem here. I'm trying to programmatically add an app to a FB page as a tab. FB documentation says the following: "Make a POST call to the page API endpoint //tabs with app_id set ...
0
votes
0answers
12 views

address starts invalid then gets validated in debugger

I use the send message dialog feature and include a link back to my app, such as: http://curiousbear.herokuapp.com/restaurants/482 Now some of those links register as invalid(error 100), and so I ...
1
vote
0answers
53 views

Facebook Realtime API + Rails + POST not working

I'm subscribing to Facebook's Realtime API (using the Koala gem, etc.) to get data every time the pages that a user manages, changes... For some reason, I do not receive any POST data from Facebook, ...
10
votes
1answer
577 views

(#5) Unauthorized source IP address Error on Heroku Rails APP

My Heroku app (RoR) started to throw this error when someone tried to sign_in via facebook. (#5) Unauthorized source IP address
0
votes
0answers
18 views

How to recieve information from an user when he tries to add my facebook app as a page tab?

I am creating a new facebook page tab app. I need certain information to be filled in by the admin of the page who is adding the tab. How can i achieve this? Moreover i don't know if the page id will ...
1
vote
0answers
23 views

Search API Facebook according coordinates

My code is this request_url = "https://graph.facebook.com/search?q=asdfert&type=place&center=37.76,-122.427&distance=1000&access_token=whgghstyhhjgsdhdfdf&type=post" url = ...
0
votes
1answer
73 views

Resizing remoted image(carrierwave)

I use carrierwave and omniauth(and omniauth-facebook) gems in my app. I think it makes no sense to describe how I use these gems. I get image from request.env["omniauth.auth] and save it to ...
0
votes
1answer
66 views

rails, koala, get list of users who installed facebook application

I have facebook application set up. I'm using koala gem to get some information about application. I know that I can get info about specific user who installed this application. @graph = ...
0
votes
1answer
40 views

bad URL request with Koala

There's a problem with my implementation of Koala for Rails which causes send dialogs to bug out because my site's URLs are considered invalid by Facebook. Here is what happens: 1) When I include a ...
0
votes
0answers
69 views

Facebook API - invalid link for subdomain but not domain

OK I have relaunched this question because I've made some more discoveries. Here is the deal: Facebook debugger notes a Bad HTTP request on the following link: ...
0
votes
0answers
59 views

Fraction of Budget and Application request limit reached

I am a little confused on the Facebook rate limits and need some clarification. To my knowledge each application gets 100 million api calls per day per application and 600 calls per second per access ...
0
votes
1answer
53 views

Get more info from a list of objects using Koala to access Facebook Graph API on Rails

After instantiating a connection to the Graph API, I can do this: @graph.get_connections("me", "friends") This returns a list of friends containing their name and id. If I wanted more info from ...
0
votes
0answers
24 views

Where should I instantiate a Koala Facebook Graph API?

I'm using Koala to access the Facebook Graph API on my Rails web app Where should I instantiate this? @graph = Koala::Facebook::API.new(oauth_access_token) I could instantiate it every time I ...
0
votes
0answers
82 views

Facebook error response (code 606): Queries for these filter_keys: “nf” require a non-zero viewer that has granted read_stream permission

I don't know why, but i am getting this error when i run the rake task for facebook. I have used same permissions in the api from the scope provider :facebook, FACEBOOK_CONSUMER_KEY, ...
0
votes
1answer
110 views

Multipule posts in loop with FbGraph gives: OAuthException :: (#1) An error occured while creating the share

I'm having an issue posting posts to a page, and only get the helpful error: OAuthException :: (#1) An error occured while creating the share The first 20 or so posts worked great, then it started to ...
0
votes
0answers
64 views

rails using fb_graph gem to post graph actions, receive InvalidRequest - OAuthException :: (#3503)

i am trying to use fb_graph gem to publish a user action to facebook this is my code: me = record.user.facebook # Publish an activity action = me.og_action!( ...
0
votes
1answer
80 views

OmniAuth NoAuthorizationCodeError

I'm using rails 3.2.11 and omniauth gem to authenticate users with their Facebook account. Gemfile gem 'omniauth-facebook', '1.4.0'. /config/initializers/omniauth.rb require 'facebook' ...
0
votes
1answer
64 views

How do I setup omniauth-facebook on an already existing omniauth and devise rails app?

So, I followed the instructions as mentioned here http://railscasts.com/episodes/235-devise-and-omniauth-revised and successfully setup the the sign in and sign up with twitter option. Now I am trying ...
0
votes
2answers
80 views

Should I hide my facebook app_id and secret_key?

I am done creating my first facebook app in ruby on rails. In my controller I have somethign like @oauth = Koala::Facebook::OAuth.new(app_id,secret_id,callback_url) (Replaced with temp values) I ...
0
votes
1answer
202 views

Setup simple facebook oauth using koala ruby gem

Right now I am pulling facebook profile photo in my app using graph = Koala::Facebook::API.new profile_path = graph.get_picture("username",:type=>"large") ...
2
votes
0answers
112 views

Set different facebook oauth scope per user with devise

I have a rails app with two separate types of users (call them A and B). Right now they can both sign in with facebook. However, I need B to be able to oauth with some extended permissions, and I DO ...
0
votes
2answers
144 views

Persistent server side Facebook authentication

I am trying to pull a public feed from the graph onto my site. I'm currently doing this with the Koala gem for Ruby on Rails. My problem is that I can not figure out if it is possible to silently ...
-1
votes
1answer
120 views

Rails: Facebook API - how to get list of groups, where I am included? [duplicate]

I am using FbGraph for getting information about pages I like, friends and so on, but I don't see there an option to get a list of user's groups. Is there any way to retrieve it? Thanks
0
votes
0answers
53 views

Find my facebook groups using koala

I have no idea how to find this out. From the Graph API documentation, something like this should work graph = Koala::Facebook::GraphAPI.new(u.oauth_token) graph.get_object("me/groups") or ...
0
votes
1answer
74 views

Facebook real time update

I am trying to use facebook real time updates in my rails app. I added realtime update fields for "user" and "email" object in facebook settings page with the following parameters: Object: user ...
0
votes
1answer
46 views

Convert the first bit of the hash the locale name to plain text i.e. en_GB to Great Britain in ruby on rails

I have this hash and the first part of it i need to convert to plain text for example en_GB would be Great Britain. This is an example response i get from the Facebook api. {"en_GB"=>6836, ...
0
votes
1answer
302 views

Error while posting to feed: “The user hasn't authorized the application to perform this action”

I'm getting error while posting a feed on my facebook from url: (#200) The user hasn't authorized the application to perform this action I'm using ...
0
votes
1answer
43 views

Facebook signed in user in rails how to access its information and get subscriptions

I'm usign omniauth to login user from facebook and I'm also using devise gem so in my devise.rb initializer file. I added config.omniauth :facebook, app_id, app_secret, {:scope => 'email, ...
-1
votes
2answers
201 views

Fetching FB pages of a user using Koala

I have an FB account and i have created a fan page for my club and few other pages as well. I have an app in Ruby on Rails. I want to publish some feed on my club fan page. How can i do this? I have ...
0
votes
0answers
74 views

FbGraph: how to remove permissions for the application

I want to remove my application from the users applications on fb by removing the permissions from it, until now I have found in the graph documentation a call for doing it: ...
1
vote
2answers
88 views

Spam accounts being created via Facebook login

I've got a Rails App that uses Facebook for user accounts, and as of this evening, someone in Vietname has decided to (for whatever reason) use a bot to create fake accounts on my site using fake ...
1
vote
1answer
104 views

Rails Devise Api + Facebook iOS SDK, security concern

I am currently developing an app that will use the FB SDK (for the first time) to log a user into the app. The flow is typical, I assume. User taps "log in with facebook", facebook graph ...
1
vote
1answer
50 views

Detect if Facebook User is using HTTPS

I have a process that pulls all of the User's profile photos through a NET:HTTP connection. The problem is that I don't know if a user's account is using HTTP or HTTPS- the process works fine if I ...
0
votes
1answer
88 views

how to get the access token expiration time in fb_graph?

I know how to get the access token. access_token = @client.authorization.process_callback(params[:code], :redirect_uri => fb_redirect_url) Can anybody suggest me how can I get expiration time ...
-2
votes
1answer
114 views

koala batch request implmentation for the list of api calls

I want to find all the feeds with comments an also the profile image of the the user who commented on the posts. I found that it can be done through batch request. Now i am doing like this which fires ...

1 2 3 4 5 6
15 30 50 per page