Facebook Share can I add Alt text for flash videos? - iphone

You know with Facebook, how you can share video on your sites and Facebook embeds the videos via flash.
Well on computers and laptop the embeded video will play on Facebook since they have Flash installed. But for iPhone and Android users will just be redirected to the site, I want to stop this and add an alt text stated something like "Flash is needed to view", is this possible?

With HTML you can just do that with something like this:
<p>
<a href="http://www.adobe.com/go/getflashplayer">
<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" />
</a>
</p>
But I have no Idea if that is possible or not with the mobile phones.

Related

How to open the native Facebook app from a react app link?

In my react web app I have a link to share a website url on Facebook:
<Link href={`https://www.facebook.com/sharer/sharer.php?u=${this.props.shareUrl}`}>
Share on Facebook
I could also use a plain html link like so
<a href={`https://www.facebook.com/sharer/sharer.php?u=${this.props.shareUrl}`}>Share on Facebook</a>
When this is clicked Safari is launched and the Facebook web page is displayed.
What would I need to do to get the native Facebook ios or android app to launch (instead of a browser) if it is installed? Could I carry on using this link or would I need to use a share button or install the Fb SDK?
Try this one to open a Facebook app from URL. It works for me.
Linking.openURL("fb://facewebmodal/f?href=https://www.facebook.com/FixadorPT/");

How do I detect if adblock is preventing "Signin with Facebook" in nopcommerce?

I'm using the Signin with Facebook plugin with Nopcommerce here:
http://favalife.azurewebsites.net/login
I noticed that in Chrome, the facebook button doesn't appear if Adblock is running.
What can I do to make the front-end look "better" or be more functional and allow for Facebook logins while Adblock is hiding the image, and/or the following code:
<a href="/Plugins/ExternalAuthFacebook/Login?ReturnUrl=%2Fcart" class="facebook-btn">
</a>
You can add apporpriate styles to \Plugins\ExternalAuth.Facebook\Content\facebookstyles.css file

How to create custom share links for Facebook, Twitter, Google+ and Pinterest

I can't see any solutions out there that allow this specific request without a lot of scripting or meta tags so I'm hoping there's a simple way to do this.
I'm looking for a custom share links for all four social networks. Let me give a concrete example.
If someone clicks on a twitter icon link on my site, they're clicking the following:
<a href="https://twitter.com/home?status="Welcome to my site and tell all your friends! #sitename #mysiterules http://bit.ly/site">
<img src="twitter.png">
</a>
it will go to Twitter's site and produce the following:
This allows someone to very quickly promote my site with a custom message that they can change if they like but there's no effort involved outside of clicking the icon link.
This is exactly what I want to do with the other three social networks, with a custom message and links. They can also pull the default logo of my site which twitter can't do.
How can I accomplish this?
I recommend you use the proper social sharing buttons like we implemented in on our live campaign page, but here is some code I stole from a mockup of the campaign page.
<div class="leader-half kids0514-share">Share this on:
<img src="images/en/share_mail.jpg" alt="email">
<img src="images/en/share_fb.jpg" alt="facebook">
<img src="images/en/share_tweet.jpg" alt="twitter">
<img src="images/en/share_pin.png" alt="pinterest">
<img src="images/en/share_plusone.jpg" alt="google plus">
</div>
Not all social sharing buttons are created equal, some have more functionality and even old versions you can still use. Pinterest is pretty minimal. I recommend using the official buttons and full structured meta data, not doing it the way this snippet from the mockup does.
On Facebook you are not allowed to share a prefilled message according to Platform Policy 2.3: "Ensure that all content in the user message parameter is entered by the user. Don’t pre-fill. This includes posts, messages, comments, and captions."
If you want people to share on Facebook I would suggest using the Share button: https://developers.facebook.com/docs/plugins/share-button/

soundcloud open buy link in _self

I've embedded the HTML5 player on my wordpress website. All my songs contain BUY links on soundcloud that link to my song page but right now it opens all buy links in target="_blank" but is it possible to change this to target="_self" ?
No. It's not possible to change this.

how to display an external link in a facebook application>

I am developing an FB appln in iFrame mode with coding in xFBML. What is the code to navigate to an external link?
<a target="_parent" href="http://google.com">link</a>