Implement WeChat social share button - share

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

Related

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?

How to invoke external apps from my Codename One app

I have developed an app for organizing and grouping of hashtags. One functionality I want to add to this app is the following: The user can copy his/hers tags and then should be able to switch to the desired social media app (in fact app or web page). Starting a web page is not a problem but how can I switch to another app (twitter, tumblr, youtube, facebook, atc. etc.) from my own app? I couldn't find any solution for that. Please help!
The complete list of apps I want to start is: Facebook, GooglePlus, Instagram, LinkedIn, Pinterest, Tumblr, Twitter, Vine, Vk, Youtube
You can just use Display.execute to launch Android/iOS apps implicitly e.g. this site lists the URL schemes for various apps including facebook.
On iOS you can also check if an app is already installed using the Display.canExecute(String) API.
For Android I couldn't find a conclusive list of URL's like that but generally googling "intent URI" with your desired network should provide you with the answer.

How to share a website content and use the facebook oficial app instead the browser?

I have a webpage; static, of course, I want to increase the good experience using a share button but when the users try to share from the web page using a smartphone, they redirect to another tab in the same browser instead of using the official app.

Is it possible to open Facebook share dialog (in Facebook app) from mobile web?

We have similar functionality for Twitter -- linking to "twitter://post?message=Hello" will open the Twitter app (if installed). Is there a similar way to invoke in-facebook-app share dialog via "fb://"?
The reason we'd like to use "fb://" over "http://facebook.com?sharer.php?u=" is UX. From their phones, most FB and Twitter users use the native apps (not the mobile web versions) so their apps are logged in and their browsers are not. The "twitter://post" link works beautifully for Twitter, but we can't figure out if something similar is possible with Facebook (we tried most of what's on http://wiki.akosma.com/IPhone_URL_Schemes#Facebook but no dice. Even the actual share button invokes the fb web version, not the app). Suggestions?
Thanks.

How to add a link (Like, comment) at the facebook app wall post

I have a Facebook application where I am using it in Windows phone 7 application.
I am done with share on Facebook option through my mobile application. I want to add an extra link at the bottom of my application wall post (beside the like and comment links present)
How can I achieve this? Which setting need to be set in the application settings?
The docs for integrating share functionality are at http://developers.facebook.com/docs/share.
However:
We don't recommend the Share button
for new developers. If you aren't
already using the Share button, we
recommend you migrate to the Like
button and Open Graph protocol instead
of Share for sharing pages from your
website. The Like button is simpler to
user and is the recommended solution
moving forward.
Because this is implemented in HTML & JS with Facebook's own scripts you'de need to look at usingt a WebBrowserr control to embed this funcitonality on your page.