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

Alas, if that’s the case, then what seems “90% fixed” to you will still seem “100% broke” to others (like me) that just want to share a local image (no text)

Any news on this one, Rob?

Have you tried it recently? I’ve seen Engineering chatter that they had made changes around this plugin, but I don’t know if they’ve pushed the changes or not.  If it’s not working, hopefully it will be soon.

Rob

Yep, I suspect that’s the case for others as well. That’s why I took the time to test local image sharing and why I explicitly noted that it does not work.

I encourage Corona to fix this, and I would encourage you to continue to ask them to do so. But I, personally, am now going to spend my efforts to persuade Corona to fix things on other areas (widgets, broken Instagram sharing on iOS, etc.).

In everything I’ve read, you an only provide links to Facebook will grab that URL and pull a photo a descriptive text from the URL.

Rob

Technically this is a plugin change, so you don’t need 2616 or later.  But that said, we broke plugins from 2603 - 2615, so you pretty much need 2616 to solve the “plugin” problem.  But to be fair if you have 2602 or earlier back to 2511 will work too.

Rob

>provide links to Facebook will grab that URL and pull a photo a descriptive text from the URL

Rob: You’re certainly right that if you have a news article, website, etc. URL, the process you describe works. But that’s not suitable for image sharing when there’s just a JPG or PNG image without descriptive text for Facebook to extract. And also it requires that images be stored remotely vs. local image sharing; that is not a Facebook requirement and other Android apps can share local images with Facebook without a problem.

Ack! I said I will refrain from bugging you about the remaining 10%, and I’ve already relapsed. My apologies.

Rob: I have tested it and Android Facebook sharing now works properly!

More precisely, a Corona SDK-built app can now hand off text and a URL to the Android system sharing mechanism and Facebook will correctly appear as an option. (Twitter is still listed twice, once for tweets and the second for DMs, but that’s not as important.)

Thank you for fixing this. I am about to distribute the final beta of my app this afternoon and am very happy to tell my previously cranky users that Now It Just Works.

Hi Rob,

Thanks for pushing this fix through - we all appreciate the hard work you have put in to this.

Could you please confirm which Build/Version is required for the new functionality. Will it work in the current Public Build or will I need to download the latest Daily Build?

I am presently using 2015.2625 (2015.4.23).

Thanks

Anil

@Team

Is it possible to avoid the social media selection menu and go directly to facebook on Android?

If not, is there any way to eliminate the given choices in the list ?

<enil8>: At the risk of responding on Rob’s behalf, any recent version of Corona should work because it uses a plugin. I’m using 2015.2638 and it’s fine.

<Magenda>: I’m not aware of any way to do what you describe using the social plugin. Even if Android allows eliminating certain choices, which I don’t know, Corona does not expose it in their API.

@Magenda, you can use the Facebook plugin to accomplish something like what you’re describing. It’s fairly involved, but the best place to start is below:

https://docs.coronalabs.com/guide/social/setupFacebook/index.html

Yes, this is a plugin, any reasonably modern version of Corona SDK should see these Social Plugin changes without getting a new Corona SDK. 

If you wish to bypass the Operating System’s dialogs, use the Facebook  plugin an create your own.

Rob

@Team

Thanks for the replies!

The Facebook pluging has its own drawbacks because of the the non-prefilled messages policy of FB.

Practically, I cannot find a way to post a local photo giving the user the choice to write something before the post. You can only do this as a “me/feed” not as “me/photos”. But with a feed post you cannot have a local photo, just a server uploaded photo.

With “me/photos”, you can’t even have a url besides your local photo. Either you post the photo or the url. Not both of them can be posted together.

With the social plugin you can post a local photo. The user can also add a message to the photo post.

However, I cannot see the url to be properly posted. And the social list is a drawback…

Any ideas for local photo + url / message + no list ?

Photo + URL should work with the social plugin.

Rob

Any news about when local images will be allowed to be upload to facebook?

No.  Everyone asked for link support and we were told and all research said you can only do links, so that’s what we added support for.  Since it seems that images should also work, we now have to get it back in the queue.

Rob

up the thread for sharing image and url and text for facebook on android.

I’ll second that!!!

>Everyone asked for link support…

Rob: You’re right that we asked for link support. But we’ve been asking for over half a year for image sharing support as well. I started this thread in November 2014 and posted on November 18 that: “Facebook sharing on Android is broken because URLs and images can’t be shared.”

I posted on November 25 asking for Facebook sharing for “a URL or image.”

I posted on February 5 asking for an update on “allowing Facebook sharing of URLs and images.”

I posted a second time on February 5 that “We’re asking to be able to use the standard Android share menu with Facebook for URLs and images.” (emphasis in the original)

Perhaps I should have put all these requests in bold from the beginning. :slight_smile: