how can i share a link or image from my web application to whatsup friends - share

How can I share a picture along with its link to whatsapp contacts form my web application. Using my mobile I am able to share link.. using
Share via Whatsapp
But it does not work in PC. Please help me how to do it.

You Don't
You can hide the link on big screens.
WhatsApp is not generally installed in your PC, laptops and big devices so its good idea to hide the share link for them.

Related

Implement WeChat social share button

I'm trying to find a way to implement Social Share button to share via WeChat (the same as we can do for the Twitter, Facebook, etc). Not the whole website, just copied link or selected good.
I've found the official docs with JS SDK of Weixin API: https://developers.weixin.qq.com/doc/offiaccount/en/OA_Web_Apps/JS-SDK.html#10 , but according to the answer it works only with the integrated WeChat browser.
WeChat also doesn't allow to use deeplink directly to the app (like weixin://dl/posts), so there are also no way to implement direct sharing with passing params.
Is there any possibilities to share content via WeChat from non-WeChat browser (like Chrome, Safari, etc)?
If someone still searching for any solution, some sort of workaround for mobile devices might be Web Share Api .
Note: Be careful, it doesn't have good browser support: https://caniuse.com/web-share

What happens when you click on a URL link and the link opens the app instead in flutter?

I have a link to a website but I want when the user clicks on the link, they are taken to the app instead of the browser.
You can achieve this using device_apps Flutter_device_apps (not supported for IOS).
firebase_dynamic_links package can help you in this regards.
With Dynamic Links, your users get the best available experience for the platform they open your link on. If a user opens a Dynamic Link on iOS or Android, they can be taken directly to the linked content in your native app. If a user opens the same Dynamic Link in a desktop browser, they can be taken to the equivalent content on your website.

How to share link from web to Messenger on mobile

In my application I have a button responsible for sharing a specific link to Messenger. While on mobile web, I would like it to open new Messenger message with prepopulated link and no addresee on both Android and iOS.
It seems, like https://developers.facebook.com/docs/sharing/messenger/web was a great solution, but as it is mentioned in the link, they stopped supporting it.
Is there any other way to achieve what I am looking for?

codename one. How to share a link to your app.

What I want to achieve here is similar to what most apps do, specifically like Youtube. If I share a video on youtube the user gets a link to the video. When the link is clicked the user is automatically taken to the video in the Youtube app (if the user has the app). I want that sort of functionality. My app has different stores on it and information about the store. I want the user to be able to "Share" a store via Whatsapp, sms etc so then when the receiver clicks on the shared link they are automatically taken to that specific store's page INSIDE my app. And if they do not have the app the link must take them to my app's page in the app store to allow them to download it. How do I achieve this in codename one. I looked at the share functionality in the developer doc and the How To section and that only shows me how to share text or images. Not a link to my app.
You can use the ShareButton or it's underlying native share API call (notice this behaves differently on devices as this relies on native functionality).
To share one URL that works on all platforms you need server side code as we have no way of knowing if the guy who will click the link has the same device as you have.
How to make QR code for BOTH Android Market and App Store answers that although it discusses QR codes this is applicable to links as well e.g. http://onelink.to/ looks like it could solve that although I haven't tried their service.
The correct answer to this question was actually URL intercepting. http://www.codenameone.com/blog/intercepting-urls-on-ios-android.html You share a url from your app to an external application. When the user opens that lick in an external application the user is automatically taken to your app if your app intercepts it.

Facebook Sharing of same link shows differently in mobile devices and desktop

Hello I am trying to share some image in Facebook with javascript SDK.
But I am getting two defferent images for the same link.
Anyone have any idea?
Link