Connecting friends for testing users

Using the Roles toolbar, I can create Facebook user accounts, but when I try to make them friends with each other, by marking the corresponding accounts and then the โ€œmake friendsโ€ button, it seems to do nothing.

Then I tried to make these accounts friends through an api call:

https://graph.facebook.com/{test user id 1}/friends/{test user id 2}?method=post&access_token={test user 1 access token}

The result is an OAuth Exception:

{"error":{"message":"Error validating application.","type":"OAuthException"}}

This feature worked previously for me (by clicking the "Make Friends" button). Has anyone got any ideas on how to solve this problem?

+6
source share
2 answers

Apparently, this was a mistake, now you can enter the role options menu in the application and select users to make friends. This functionality is still pretty buggy, but ultimately it works.

+3
source

Currently there is ui, which is useful, the only bummer is that I also get the same OAuth exception as the original poster. It would be nice to be able to do this using the API.

ss

0
source

Source: https://habr.com/ru/post/903853/


All Articles