nov / fb_graph

This gem doesn't support FB Graph API v2.0+. Please use fb_graph2 gem instead.
MIT License
1.04k stars 191 forks source link

Initialization Errors #287

Closed monterey01 closed 11 years ago

monterey01 commented 11 years ago

Sorry I am new to the ruby world and need some help in setting up the fb_graph. uninitialized constant ApplicationController::Facebook. I had the similar error earlier for include and copied code from the lib folder. Are there instructions to setup the necessary modules and config files?

monterey01 commented 11 years ago

I fixed the uninitialized constant ApplicationController::Facebook error. I am now getting undefined local variable or method `callback_facebook_url'. Any ideas?

timkurvers commented 11 years ago

All it takes is making sure fb_graph is available as a gem, that could be adding it to your Gemfile or installing it manually, as specified in the README.

Then, simply require it and you should be set:

require 'fb_graph'

You should not have to manually copy any code from fb_graph into arbitrary directories.

monterey01 commented 11 years ago

Thanks figured it out. :)