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.
<Nob Studio> and <anil8>: I just checked and Corona-built apps do currently allow text to be selected from a webview then “shared” via Facebook on Android via the system sharing panel. (I placed “shared” in quotes because the selected text doesn’t appear in the Facebook app, but Gmail acts the same way, so presumably FB is being promiscuous in what it accepts.)
But are you aware of Android apps that allow text to be programmatically selected (not via user textfield selection) and shared with Facebook as well? I just want to make sure that we’re not asking Corona to do something impossible, especially because this Facebook policy exists: "Our API does not support pre-filling the message for users” https://developers.facebook.com/bugs/332619626816423/
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:
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.
We think we have a bead on this. Stand by for more info.
Rob
I just tried the social popup in daily build 2015.2647 and when the user clicks on the button he sees:
- No facebook button
- Double Twitter button
What do you need to do to show facebook on social popup?
Can you post a screen shot of what’s going on? Some code on how you’re calling the plugin would be helpful too.
Rob
Hello Rob,
Thank you for the fast answer, here we go:
build.settings plugins = { ["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs" }, }, Game.lua function postFacebook( ) local options = { service = "facebook", message = "I just made "..oScore.." Points in Monsters Fall!", listener = socialEventListener, image = { { filename = "Icon-xhdpi.png", baseDir = system.ResourceDirectory }, }, url = "https://play.google.com/store/apps/details?id=com.loopends.monstersfall" } native.showPopup( "social", options ) end function goFacebook:touch(event) if event.phase == "ended" then postFacebook() end end goFacebook:addEventListener("touch",goFacebook)
Screenshots: (Link to high res: http://postimg.org/gallery/3ikpk0vak/))
As you can see im getting double twitter icon, and none facebook.
Thank you very much
Make sure message is blank:
message = “”
Not even a space…
Rob
Hello Rob,
Still getting the same error. Going to try in another device and i tell you soon.
Joe
Actually, try it with just the URL? On Android we only support URL’s, not images.
Rob
Hello Rob,
That worked, thank you very much.
This means that i can’t share my score on facebook right now, right?
Best Regards
Joe
Joe: See the first message that started this thread last November:
Facebook’s official position is: “Our API does not support pre-filling the message for users” https://developers.facebook.com
I know of no way to pre-fill a Facebook message using the Android social plugin.
We have been waitting several years…and it is a quite basic feature. Is it to difficult to post an image, without text using social sharing on Android?