Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- facebook sharing api implementation -->
- <script>
- window.fbAsyncInit = function() {
- FB.init({
- appId: 'your-app-id',
- xfbml: true,
- version: 'v2.6'
- });
- };
- function shareFacebookLink() {
- FB.ui({
- method: 'share',
- href: 'https://www.vanquis.co.uk',
- picture: '../images/logo.png',
- title: 'Introducing the Vanquis Card',
- description: 'The Vanquis Credit Card has helped me, it could help you too! As a friend of mine you could get £25 credited to your account if you get accepted and use your Vanquis Credit Card. Simply click on the link below to apply.'
- });
- }
- (function(d, s, id) {
- var js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) {
- return;
- }
- js = d.createElement(s);
- js.id = id;
- js.src = "//connect.facebook.net/en_US/sdk.js";
- fjs.parentNode.insertBefore(js, fjs);
- }(document, 'script', 'facebook-jssdk'));
- </script>
- <a class="button facebook" target="_blank" onclick="shareFacebookLink()" href="https://www.facebook.com/sharer/sharer.php?">
- <span>Facebook</span>
- </a>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement