Created
December 23, 2010 13:33
-
-
Save nov/752974 to your computer and use it in GitHub Desktop.
FbGraph Test User
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?