user10116042
user10116042

Reputation:

Instagram follow on button click

I'm currently trying to add a feature which allows users to follow an instagram account by clicking a button. I've seen other apps use that but I could not figure out how. As you can see in this post, following people by using the api is no longer availible. https://developers.facebook.com/blog/post/2018/01/30/instagram-graph-api-updates/ Maybe some of you know how to do what I want.

Upvotes: 0

Views: 810

Answers (1)

Intsab Haider
Intsab Haider

Reputation: 3571

You can do it with a hack that is..

  Intent externalIntent = new Intent(Intent.ACTION_VIEW,Uri.parse("instraURL"));
  startActivity(externalIntent);

App will move user to external Browser and browser will move user on Instagram app..

As it is not perfect solution but i am just sharing because it can help developers when they don't have SDK.

Upvotes: 3

Related Questions