I want my users to follow my app inside my android app…So when the user clicks on a button the intent is fired:
As per the documentation here is my code:
String urlTweeter = “https://twitter.com/intent/follow/user_id=myuserId”;
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setData(Uri.parse(urlTweeter));
startActivity(intent);
However, when my browser opens, I get the message: “Sorry, this page does not exist !”…
Instead of using the user_id as parameter I tried screen_name and got the same results…
Is there any workaround for this or am I doing something wrong ?