how to share a video from my website to WhatsApp - javascript

I want to share video and image from my site to whatsapp, can its possible. Realted to this I searched google but I am only able to find this link :-
https://github.com/kriskbx/whatsapp-sharing and in this link there is specify that we can't share image and video from our website to whatsapp. Please clear

You could send a link to a web page there the image/video is hosted via deep link:
Share via WhatsApp
And sending media directly wont work

Related

Is there a way to create share link on a website for Instagram?

I am trying to implement a button that users can click. It would take them to Instagram and start a new post with my website URL. I did it for Facebook using
window.open('https://www.facebook.com/sharer.php?u=' + url.value)
Is there any simillar way of doing this with instagram?
You can use a plugin that can do this automatically without coding. Try these plugins:
social sharing
social media auto push

Social media sharing buttons

What is the correct links for sharing content on user's social media pages/profile? Something similar to the web page sharing links:
https://facebook.com/sharer/sharer.php?u=xxxx
https://twitter.com/home?status=xxx
I know that instead of "xxxx" you have to put your page url which you want to be shared. Exemple when I press the share button (facebook): 08rnz.png . I need links for more social media's sharing and via e-mail too.
So if I put https://facebook.com/sharer/sharer.php?u=site.com/site/index.html it doesn't work. It's any scripts for those sharing buttons? What exactly I have to do? I want for: facebook, twiiter, google plus, e-mail, whatsapp.
Thank you!
This service could be helpful:
sharelinkgenerator.com
But your problem is most probably with localhost. It is not an internet address, just your local server.
Update:
For sharing by email:
Share
For Whatsapp:
Share on Whatsapp
You might want to look into: addthis.com, you can use this website to generate share buttons for your website.
It creates a script, that you have to add to your webpage.
You have probably seen the buttons before, since they are used a lot.
What you need to do:
get a (free) account on their website
you can design your share buttons in your addthis account
generate and copy the javascript (script tags) to the bottom of your page, just before the closing body element

Profile Picture Upload using Facebook Graph API

Is there any way in which I can initiate a profile picture upload on Facebook using their Javascript Graph API. I have looked in many places for an answer and the closest I had got was to how to set a facebook profile picture using the graph api. But the "makeprofile=1" does not seem to be working.
&makeprofile=1 seems to be deprecated.
Use the mobile link URL instead: http://m.facebook.com/photo.php?fbid=[photo-id]&prof
You'll get a screen with your picture and a button asking the user to confirm that he wants to use it as profile picture.
Source: https://stackoverflow.com/a/37480622

Uploading an image to twitter from website?

I want a user to be able to tweet images that are on my site.
First I checked out Cards but the docs say:
For photos and animated GIFs, upload the media directly with the Tweet or consider using the Twitter API to upload media.
So I check out the docs and there are ways to do this.
I can't figure out if you are able to upload images from your site using the API, but having them posted by a user's twitter account, won't all of the tweets come from whatever account I set in the script?
Is it possible to let a user upload an image from my site or will I have to use cards?

How to add the snap to the facebook status from a 3rd party app

I am not able add the thumbnail in the facebook update, using javascrit. But I dont know how to add the snap or add thumbnil, the facebook bot is not picking any pic fro the app, its a ruby on rails app actually.
I am using simple technique I have not created any app or no api key and such things.
I how do I get the thumbnils ?
Kindly help me
I'm not quite sure if I understand the question... You have a Rails app and a "Like" button and when you press the like button there is no thumbnail of the web page in your facebook status?
If that's the case you shoud take a look to the Open Graph Protocol: http://developers.facebook.com/docs/opengraph/
You must use some tags in your page to provide Facebook with information about your website and one of the tags is for the image:
<meta property="og:image" content="http://ia.media-imdb.com/rock.jpg"/>

Categories

Resources