Can Corona enable (limited) Facebook sharing on Android via native.showPopup()?

Thanks, Rob! Looking forward to it. 

Facebook loves for apps to offer sharing features, as long as there is no filled-in text (and there isn’t if all developers are sending is a URL or image).

On a separate but related note and it would be lovely to have Corona expose the standard iOS modal share action sheet with the native.showPopup() plugin. That’s the action sheet with AirDrop, Facebook, Tumblr, Evernote, Add to Home Screen, Add Bookmark, Add to Reading List, etc.

The good folks at StackOverflow call it a “trivial” 10 lines of code in Objective C:

“The UIActivityViewController stated in the other answer makes this trivial. All you have to do is specify the text/image/URL that you want to share and present the activity view controller modally and iOS will automatically display all applicable sharing services.” http://stackoverflow.com/questions/13498459/how-to-display-the-default-ios-6-share-action-sheet-with-available-share-options

May I push my luck and ask you to pass that along to Engineering as well? :slight_smile:

Good news on the iOS front! Brent from Corona just posted an update in the other thread saying the iOS share action sheet will be supported within the next few days:

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/#entry282502

Rob, I suspect you had something to do with this, and I thank you for making this happen. It’s made my week.

May I press my luck and ask if the currently-broken Facebook sharing on Android can be fixed as well? We’ve been talking about it in this thread since November. From Corona’s perspective, allowing Facebook sharing of URLs and images for Pro subscribers will make that paid option more attractive, and hopefully bring in enough extra revenue to give Rob and Brent a nice spring quarterly bonus. :slight_smile:

Engineering has stated on multiple times that this is a well known and documented issue with Facebook and until Google and Facebook iron out the issue, there isn’t anything we can do.

Rob

Rob, thanks for your response. But I’m afraid you replied to a question that is not the topic of this thread. You are correct that Facebook has long taken the position that: “Our API does not support pre-filling the message for users” https://developers.facebook.com/bugs/332619626816423/

What this thread is asking for is something different. We’re asking to be able to use the standard Android share menu with Facebook for URLs and images when there is no pre-filled text.

Other Android apps can do that just fine. I gave an example earlier in this thread. <davebollinger> gave others. There is no reason Corona-built Android apps should be crippled with broken sharing, especially when Facebook usage is growing quarter-by-quarter. This is decidedly not a “well known and documented issue with Facebook” – it’s a choice by Corona.

Rob, you said last fall in this thread that “I’m waiting on a response from Engineering” but then went dark. Can you check with engineering now, perhaps, and let us know what the answer is? Now that iOS sharing is being fixed, it would be great if Corona would correctly implement Facebook sharing for URLs and images via native.showPopUp().

Engineering is looking into a work around.

Thanks, Rob! I appreciate your help with both this and iOS sharing. Much obliged.

Happy pre-holiday, folks!

Rob: It’s been a month since my original question (you said you were waiting on a response from Engineering), so I thought I’d ask again. Do you have a timeline on correctly implementing Facebook sharing via native.showPopUp(), perhaps? Thanks!

Hi Rob,

We all appreciate your help with this issue to date.

Has there been any progress with a work around for this from Engineering?

Thanks in advance.

<anil8>: FYI, fixing Facebook sharing on Android is being actively discussed on this thread as well:

http://forums.coronalabs.com/topic/54971-is-it-possible-to-disable-editing-on-facebooktwitter-post-using-nativeshowpopupsocial-facebook/#entry285855

I’ll prod Engineering and see if I can snag a slice of time.

Rob

Rob: If your engineers can fix Android Facebook sharing this month, tell them that I will have the snack of their choice delivered at a time of their choice (assuming it’s reasonably possible to arrange delivery). I think you’re remote so I don’t think I can extend the offer to you unless you’re visiting the mothership.

Bi-Rite ice cream from San Francisco’s Mission district? Carmelitas from Batter Bakery? Bourbon pecan pie? Let me know. :slight_smile:

We think we have a bead on this.  Stand by for more info.

Rob

Thanks, Rob. Only one week left before my dessert delivery offer expires. :slight_smile:

FYI, there’s another request for Android Facebook sharing from yesterday afternoon here:

http://forums.coronalabs.com/topic/55675-social-plugin-facebook-on-android/

Well the good news is we think we have it fixed but it still has to go through a code review and testing before it gets released and given the current work load, your probably going to be off the hook for your desert offer but we are getting close.

Rob

Rob: Thanks for the update! As a gesture of good faith, I think it’s reasonable to be somewhat flexible on my end. I suspect a daily build released on April 1 or April 2 may still qualify for the Bi-Rite ice cream from San Francisco’s Mission district, Carmelitas from Batter Bakery, or Bourbon pecan pie… :slight_smile:

Hello,

Any new’s ?

Really need this for my app =D

Have a nice day

I just posted an update a couple of days ago.  Nothing has changed since.

Rob you know when the problem will be fixed to android?

We don’t have an ETA.  I hope we will find some engineering time soon, but the engineers are super slammed right now.

Rob

I need too. News Rob?