Facebook tests users with user requests

I asked this question last week, but got only 8 views.

The part of the application I'm working on requires creating a ton of requests from user to user and verifying that they are processed correctly in the application. It takes countless hours of QA work and can be automated with a simple script like

users_api = Koala::Facebook::TestUsers.new(config)

users = test_users.create_network(10, true, "email,user_likes,publish_actions")

users.permutations(2) do |u1, u2|
  graph = Koala::Facebook::API.new(u1['access_token'])

  requests_types.each do |req|
    graph # .user_to_user_request(u2, req) Oh noes I can't do this part
  end
end

Everything that I saw indicates that it is impossible to create user requests for a user in a script, even for tested users. Is there any other (automatic) way to do this?

Edit

, , - . - QA. , , , 90 , , .

+5
1

. , , , .

. Api Explorer. , , , , , , . , ? 3-4 , .

, webmock fakeweb. , API , . , FB API.

0

All Articles