Questions tagged [fb-graph]

A full-stack Facebook Graph API wrapper in Ruby

A full-stack Facebook Graph API wrapper in Ruby

127 questions
12
votes
2 answers

"The 'og:type' property is required, but not present." error

I'm having an issue with Facebook's graph API. I'm getting a "The 'og:type' property is required, but not present." error on this URL: http://thatnewjoint.com/posts/logic-driving-ms-daisy-feat-childish-gambino (and every other URL on my blog). The…
kitdesai
  • 1,678
  • 2
  • 10
  • 9
7
votes
4 answers

Facebook wall post error: OAuthException :: (#1500) The url you supplied is invalid

I have a web-based news app that runs on Heroku. When users post a comment to a news story on my app, my app forwards the comment to the user's facebook wall using fb_graph. Everything worked perfectly until a couple of weeks ago. For no reason…
chuck w
  • 1,741
  • 2
  • 15
  • 34
7
votes
3 answers

Access token from devise+omniauth-facebook authentication for using in fb-graph

I used devise and omniauth-facebook in my Rails 3 app for Facebook authentication, based on this tutorial: Adding Facebook auth to Rails 3.1 app, and it's working great! But now I want to have full Facebook integration in my app, with which I can…
6
votes
0 answers

FBGraphUser in Swift

I'm using the Facebook iOS SDK in Swift to access Facebook and I would like to work with the FBGraphUser (or FBGraphPlace, FBGraphLocation) protocols rather than with a pure Dictionary. The request completes successfully but I cannot cast the…
Jan
  • 7,444
  • 9
  • 50
  • 74
6
votes
1 answer

Node.js syntax error "unexpected token" on "exports."

I have been trying to learn node.js. I am trying to create a simple node.js web api and a html-javascript front end to login using Facebook auth and store Facebook id in Mongodb. I was able to do it by following tutorials available online. Now I…
Saumya Tripathi
  • 71
  • 1
  • 1
  • 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
3 answers

Facebook Open Graph not showing on timeline

I'm using FB Open Graph in my application. It's not fully working. When I post a object it appears in the user's recent activity; however, it doesn't appear on their timeline. The metadata has no errors and I'm using the FBGraph gem but it also…
Sam Baumgarten
  • 2,231
  • 3
  • 21
  • 46
5
votes
1 answer

Devise + Omniauth + fb_graph + Rails 3 Tutorial

Can anyone suggest a good and complete tutorial on how to set up Facebook authentication with Devise and Omniauth in Rails 3, and then integrate it with Facebook Graph API using fb_graph? I have already looked into Ryan Bates' railscasts and tons of…
humairatasnim
  • 218
  • 1
  • 4
  • 10
4
votes
3 answers

facebook Security Warning while user has enabled secure login - iPhone

I am working on an application which uses FB login. For login from faceBook I am using FBGraph and it works fine if users have disabled secure login in their account, but if user enables the secure login then it gives following message.. Here is my…
Nirav Gadhiya
  • 6,342
  • 2
  • 37
  • 76
4
votes
4 answers

How do I invite friends from facebook using fb_graph?

Basically I want to display a list of friends (with pictures and names) and invite them to my app I'm creating in rails with the fb_graph gem. The link shows the flow of how this would work, basically you would click an "Invite Friends" button and a…
locoboy
  • 38,002
  • 70
  • 184
  • 260
4
votes
1 answer

Improving performance on loading a long list of facebook friends

As part of my rails project, I have a feature that allows a user to issue invites to their FB friends. I'm using fb_graph for the API calls, and the below is a sampling of the code from the controller when the user hits the invite page. This…
pejmanjohn
  • 1,057
  • 3
  • 12
  • 26
4
votes
1 answer

Rails: How to mock gems, such as fb_graph

I am using the gem fb_graph. I am new to rails, and am trying to figure out how to mock this gem using rspec. ( https://github.com/nov/fb_graph ) The code I am attempting to test is: facebook_user = FbGraph::User.new('me', :access_token =>…
Karan
  • 14,824
  • 24
  • 91
  • 157
3
votes
0 answers

FaceBook Custom Like button in iOS

I want to put a custom like button(not the one provided from FB) in iOS app to like the Wordpress feeds which also getting the FB Post ID. So I want to implement the functionality in my app when user taps the like button then it should be reflected…
Rahish
  • 165
  • 3
  • 10
3
votes
1 answer

An open FBSession must be specified for calls to this endpoint in iOS

i am newbie in iOS Development. I want to Upload an Image on to Facebook Page.When image was Picked up From Camera.for this I write a code for as Below but i got an error "FBSession must be specified for calls to this endpoint". Please Give me…
Ashish Gabani
  • 445
  • 1
  • 5
  • 30
3
votes
1 answer

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. When trying to access the API in the following…
Sam Stern
  • 24,624
  • 13
  • 93
  • 124
1
2 3
8 9