Fcoder
Fcoder

Reputation: 9226

open Instagram hashtag intent

For opening an specific image in Instagram i use this intent:

Uri uri = Uri.parse("http://instagram.com/p/IMAGE_ID");
Intent insta = new Intent(Intent.ACTION_VIEW, uri);

if i want to see an specific hashtag all images what i have to do? Actually i want to open Instagram and see images of an hashtag

Upvotes: 1

Views: 791

Answers (1)

Yuliya Tarasenko
Yuliya Tarasenko

Reputation: 437

Uri uri = Uri.parse("https://instagram.com/explore/tags/your_tag/");
Intent intent = new Intent(Intent.ACTION_VIEW, uri);
startActivity(intent);

Upvotes: 1

Related Questions