Skip to content

Instantly share code, notes, and snippets.

@nov
Created December 23, 2010 13:33
Show Gist options
  • Save nov/752974 to your computer and use it in GitHub Desktop.
Save nov/752974 to your computer and use it in GitHub Desktop.
FbGraph Test User
app = FbGraph::Application.new(config[:client_id], :secret => config[:client_secret])
app.test_users.collect(&:destroy)
user1 = app.test_user!(:installed => true, :permissions => :read_stream)
user2 = app.test_user!(:installed => true, :permissions => :read_stream)
p user1, user2
p user1.friend!(user2)
p user1.accounts
p user1.activities
p user1.accounts
p user1.albums
p user1.books
p user1.checkins
p user1.events
p user1.feed
p user1.friend_lists
p user1.friends
p user1.groups
p user1.home
p user1.interests
p user1.likes
p user1.links
p user1.movies
p user1.music
p user1.notes
p user1.photos
p user1.picture
p user1.posts
p user1.statuses
p user1.tagged
p user1.television
p user1.videos
@vyruz
Copy link

vyruz commented Apr 17, 2014

Been trying to write some feature tests in cucumber but when i try to follow the sign in i get an error
uninitialized constant OauthController
Would anyone be kind enough to help me out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment