Skip to content
nov matake edited this page Mar 5, 2011 · 1 revision

Test Users

Fetch your all test users

app = FbGraph::Application.new(CLIENT_ID, :secret => CLIENT_SECRET)
app.test_users

Create a new test user

app.test_user!(:installed => true, :permissions => :read_stream)

Login as a test user

user = app.test_users.first
redirect_to user.login_url

Friend request

test_user1.friend! test_user2

Delete a test user

test_user.destroy
Clone this wiki locally