I was wondering if anyone had a simple solution for which users of my application can share a token that the application generates for them with their friends?
Say two people install the application, I would like one person to be able to share their token with another user.
I have looked into Facebook, and the Login/Friends system would be perfect, however I cannot see a way to share the token easily.
Obviously users could email this token to each other, but that would not be a great user experience.
Any suggestions are welcome
Why not have the token sharing on a backend server? Then users can just send requests to the server and the server can manage the sharing, either through push notifications or by polling the server for new token requests every so often. This is also a more robust way to do it, since if a user switches to a new phone (or uninstalls the app and then reinstalls), it would be trivial to get all the tokens again.
Other than that the simplest way I could see would be to let the users text or email the tokens. Again, not really a great solution, but relatively simple and it will take a lot less work.