I want to add a youtube subscribe button to my flutter app just like you do on web pages ( https://developers.google.com/youtube/youtube_subscribe_button ). Are there any methods for this?
Asked
Active
Viewed 714 times
1 Answers
1
You can build your own button. It should have a youtube subscribe link, which you get by using your channel's URL and adding ?sub_confirmation=1
at the end. If you want the subscriber count you can get it from Youtube's API.

ambiguous58
- 1,241
- 1
- 9
- 18
-
Oh yeah didn't think of that. Thanks. – Andi Bardhi Apr 20 '21 at 15:35
-
When I added a button with subscribe url and launched with url_launcher. It"s not working – Mahi May 31 '22 at 00:22
-
Is there any other way? – Mahi May 31 '22 at 00:22
-
@Mahi did you get any solution for this ? – Shubham Narkhede Aug 28 '22 at 12:24
-
Nope.. I didn't checked after that. If you have any solution. Please mention here – Mahi Aug 29 '22 at 12:36