I want to link the website to facebook group, tweeter, youtube, VK. So that when I click on the social media button on the website, I will follow them.
Asked
Active
Viewed 55 times
-2
-
1You need their API. Google it – hdotluna Feb 01 '17 at 04:16
2 Answers
1
Sounds like for facebook you need like button.
https://developers.facebook.com/docs/plugins/like-button
Twitter follow button.
https://dev.twitter.com/web/follow-button
Youtube subscribe button.
https://developers.google.com/youtube/youtube_subscribe_button
Vk like button.

Web Dev Guy
- 1,693
- 3
- 18
- 42
1
You can do this in two ways
- With an
<a>
tag - With
<form>
Anchor tag (<a>
)
.html file
<a href="http://facebook.com" class="button">Facebook</a>
.css file
a.button {
-webkit-appearance: button;
-moz-appearance: button;
appearance: button;
text-decoration: none;
color: initial;
}
If you use Bootstrap then do the following:
<a href="http://facebook.com" class="btn btn-default">Facebook</a>
Forms (<form>
)
.html file
<form action="http://facebook.com">
<input type="submit" value="Facebook" />
</form>
Or (with JavaScript)
<input type="button" onclick="location.href='http://facebook.com';" value="Facebook" />

Manish Poduval
- 452
- 3
- 15