Social Network Plugin

Hi,

Apart from Facebook, is there any plugin available to integrate with Line, WeChat etc? Appreciate if anyone could give me some hints.

Thanks.

Nat

There are no plugins available.  I don’t know anything about those services, but if they offer a RESTful API, you can use network.request() to talk to them.

Rob

Is there any plan to extend support to WeChat & Line using the “CoronaProvider.native.popup.social” plugin?

I’m not sure if this is what you’re looking for, but there’s some very good news from Corona in the last few days on iOS sharing:

http://forums.coronalabs.com/topic/53371-supporting-ios-modal-share-action-sheet-airdrop-print-add-to-home-screen-add-bookmark-add-to-reading-list-etc/

And some not-so-good news on Android, where Corona-built apps are crippled in terms of sharing compared to their non-Corona-built counterparts:

http://forums.coronalabs.com/topic/52755-can-corona-enable-limited-facebook-sharing-on-android-via-nativeshowpopup/

WeChat and Line don’t seem to be something many people would be interested in.  Here are your options.

  1. For iOS, Use the new “activity” option for native.showPopup(“social”)  that should go live early next week.  This brings up the OS’s UIActivityViewController which will show any registered app that supports the media (text, images, links) that it expects.  In other words, no image, you won’t see Flickr in the group.  For Android, this is already available via the “share” option of native.showPopup(“social”).   If either of those services register with those sharing sheets, then you’re golden.

  2. Go to http://feedback.coronalabs.com and create a feature request and get it voted up.  If there becomes sufficient votes, then we might build it. 

  3. If either service offers a RESTful API, you can communicate with them now using network.request.  it may take some work.  If they use “websockets”, then a community member developed a library for that a few months back which might work for you.

  4. If they offer SDK’s, then you can use either Corona Enterprise or CoronaCards to implement native API’s into your Corona code base.

Rob

On point #1, I’m happy to say that the new “activity” option for native.showPopup(“social”) is already live. I tested and built a Corona app yesterday (using daily build 2015.2553) and it worked perfectly on an iOS device.

Thanks, Rob, for your help in shepherding this through Engineering over the last few months.

Yea, the plugin is live, but I didn’t see the documentation for it.  I would have thought it would have pushed already.  I’m checking into it’s status.  I don’t think we’ve formally announced it yet.

In the mean time, the sample code is up on github at https://github.com/coronalabs/plugins-sample-native-popup-activity

Rob

Rob: FYI, Brent announced the plugin going live in this thread yesterday afternoon: http://forums.coronalabs.com/topic/53371-supporting-ios-modal-share-action-sheet-airdrop-print-add-to-home-screen-add-bookmark-add-to-reading-list-etc/

Here’s the documentation: http://docs.coronalabs.com/daily/plugin/CoronaProvider_native_popup_activity/index.html

I was referring to announcing it on the blog.  Perhaps the forum posts are all we are planning, I’ll need to get up with Brent about it.

There are no plugins available.  I don’t know anything about those services, but if they offer a RESTful API, you can use network.request() to talk to them.

Rob

Hi,

Bumping this because Wechat support in Social Plugin would be really useful, it’s by far the #1 platform in China.

Thanks

endy

<endygwa>: I’m not sure I understand what you mean. The standard iOS share action sheet is now partially supported by Corona. That includes AirDrop, Add to Home Screen, Add Bookmark, Add to Reading List, Assign to Contact, Print, Slideshow, etc.

But note it’s only partially supported. It does not work on iPads. It does not work with Instagram. Corona has not given us an estimate of when this (or Android Facebook sharing, which is also broken) will be fixed. I do not know if it works with Wechat. Have you tried it yourself on a device with the latest daily build?

I downloaded the latest Daily builds but as of now we-chat is not supported whereas the standard iOS share action also has support for We-Chat.

@Corona: Can we have an approximate estimate on when can we expect this to work fully. 

<swati.bajaj>: I’ve posted a reference to your WeChat problems here: http://forums.coronalabs.com/topic/53371-supporting-ios-modal-share-action-sheet-airdrop-print-add-to-home-screen-add-bookmark-add-to-reading-list-etc/page-2

But I would encourage you to start your own new thread in the iOS section with WeChat in the title so more people will see it.

I tried it on Android and I couldn’t make it work. If I try to share text only it doesn’t let me share to Wechat “Moments” (kinda of equivalent of your own Facebook timeline). If I add a picture + text, it says Moments only accept pictures. I’m not sure if it’s the Social plugin’s fault or Wechat’s fault, but it doesn’t work.

Have you tried a picture only, no text? Or a URL? Facebook doesn’t allow pre-filled text but does allow URLs and images (including images you can render on the fly).

I read up on WeChat a bit.  It looks like they require either an image or a link be included.  Can you retry it making sure to include one of those items?

Of course there are no guarantees that WeChat has all the hooks for supporting sharing extensions.

Rob

There is something called share SDK which can enable users to share to 40+ social networking sites.

Unity also has a plugin for this. Can we do something similar in Corona?

You can add a feature request for this at http://feedback.coronalabs.com

Rob

I added a feature request for this. Please check.