0
\$\begingroup\$

I have seen many apps where they will reward you if you follow them on social media. However, all you need to do is click on the link and then close the browser opened up and you will still be rewarded.

I would like to be able to spread my app through social media. I want people to get a reward only if they follow me so that the game can be spread through social media.

This does nothing if all they have to do is click on a link and then they can close the browser. Is there a way that I can only reward the user if they have actually followed me on social media.

Thanks

\$\endgroup\$
  • \$\begingroup\$ There are ways to verify that a user follows you, but nothing stops them from immediately un-following you once they get rewarded. Is that a concern? Do you want to retract their reward if that happens? \$\endgroup\$ – Josh Feb 10 at 4:18
  • \$\begingroup\$ Yes I can handle everything from the point that i can verify if they follow me. How do I do this? \$\endgroup\$ – Repardeimaj Feb 10 at 14:24
2
\$\begingroup\$

Theoretically, you could use Twitter's developer API for this. There is a query that will return a given user's followers, which you can then inspect (possibly using the query to convert an ID to a full user object to fill out extra information if needed) to determine if your game's user ID is among the set.

Once you find your game's user ID among the player's followed users, you know they've followed the account you want and can reward them accordingly.

Naturally, you will need to get the user to give you their Twitter ID in order for this to work. Since the results of the API are likely eventually-consistent, you may need to implement the confirmation as a periodic poll while your game is running, rather than expecting it to return the correct data immediately after the user comes back from the "follow us on Twitter" flow.


Note that I have no idea if this sort of usage falls into what is or is not acceptable to Twitter. The front page of their API says one use-case is "[evaluating] Twitter data to inform business decisions," which this could conceivably be, but the examples under that category don't really match.

You should read over Twitter's terms of use for their developer API, and have your lawyer do the same with an understanding of your specific business case. I'd check the restrictions section, particularly the part about "off-Twitter matching."

\$\endgroup\$
  • \$\begingroup\$ Thank you for your detailed response. I will look into this \$\endgroup\$ – Repardeimaj Feb 10 at 16:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.