Problem posting image to Twitter

I am a well-known Corona homer, so it’s hard for me to come down hard on them, but Dave hits the nail on the head here. Without Twitter and Facebook, social isn’t social. And I hate Facebook! Google+ isn’t mature yet, and my penetration in countries that use Okrut is non-existent. I need Twitter and Facebook to work. 

I of course have other stuff to work on in the meantime, but I really want to test my social stuff. Far too often I end up staring at my computer screen drumming my fingers.

424.gif

LOLZ aside, I’m looking forward to the daily build with this working!

@Dave Bollinger @Panc - totally agree with everything you’ve both said.

@Panc - you crack me up with the video humor!  :D  :slight_smile:

MAS1

@Panc - you crack me up with the video humor!  :D  :)

Yeah, It’s BRILLIANT!

@Corona

Reported as case 32972 earlier in this thread by Ingemar.

Any news or an ETA on when this bug will be fixed? Unable to attach Twitter images using the social plugin on Android as it stands.

Thanks - MAS1

Engineering is looking into it, no ETA yet.

Thanks Rob.

Twitter image attachment now working on Android. Yippee! :slight_smile:

@MAS1, are you on a newer build or are you seeing a resolution server-side?

@Panc

I’m still on the same build that I previously experienced the error with: Corona build 2317.

This entry:

["CoronaProvider.native.popup.social"] = { publisherId = "com.coronalabs", },

in build.settings should mean that the resolution is server-side due to the code being a plugin. 

Best - MAS1.

Word, just wanted to double-check. You can never be too careful…

motivational-matthew-mcconaughey-gif.gif

@Panc,

Your video posts crack me up! Totally the funniest thing on the forums!

It’s almost worth having a bug-infested SDK just to see your video clips. Now … I just need to find some time to report the bug about that pesky “AdMob interstitial fires when it feels like it” bug!

MAS1

It’s still not working for me. Just updated to the most recent SDK, using GGTwitter and Tweetcaster. My posting code is below:

 local function twitterPostTest(event) if event.phase == "began" then titleGame3.alpha = .4 end if event.phase == "ended" then timer.performWithDelay(2000, function() local screenBounds = { xMin = 0, xMax = 1092, yMin = 0, yMax = 1092, } local myCaptureImage = display.captureBounds( screenBounds, true ) display.save( myCaptureImage, { filename="group.png", baseDir=system.DocumentsDirectory } ) myCaptureImage:removeSelf() myCaptureImage = nil local alert = native.showAlert( "Success", "Screen Capture Saved to Library", { "OK" } ) timer.performWithDelay(1000, function() twitter:post( "Testing out GGTwittter with pictures!", "group.png" ) end, 1) end, 1) print("TWITTER ICON WORKING!!") titleGame3.alpha = 1 end end

I’m going to try different display capture options, working from the assumption that my image can’t be accessed, and will post updates as events warrant.

@Panc,

I’m not much use here I’m afraid. I don’t use GGTwitter or Tweetcaster. I use the social plugin and the standard Twitter app. I’m pretty sure that those combinations would work for you also if you fancy trying them!

Best of luck - MAS1

Posting with only text still works with GGTwitter. I mostly jumped on this thread as the OP was reporting an issue with GGTwitter, and it did work for me for a while (only in testing, to be fair). 

I’ll test with the native Twitter client and the share panel and I’ll report back shortly.

Confirmed that the native Twitter client works with images and text. Having the Twitter app installed does not allow Tweetcaster or the GGTwitter functions to work.

I guess they half-fixed it? Or maybe this is more of a third-party issue than a CL issue. I hope it’s the latter, as it might be less moving parts for me (you caught me, I’M SELFISH!).

I guess it’s important to talk about why GGTwitter is such a useful library when coupled with the sharing panel. I have several twitter accounts but do not have the native twitter client on any of my phones. I use Tweetcaster, and while I can share through the panel to Tweetcaster, the only thing that is passed to Tweetcaster is a picture.

GGTwitter is nice because it takes out about 10 steps while allowing you to log into your preferred twitter account, and you can just auto-post a message and picture (at least we used to be able to do that). Maybe I’m just clinging to the hope that we can make the posting to Twitter seamless, but I really hope we can at least confirm where the problem lies.

I see that the Twitter app on my Nexus 7 was updated yesterday.  Since @Ingemear had found that it broke with a twitter app update, I wonder if this update fixed it?

I don’t believe that we have done anything on the Corona side to make this work any better. 

Rob

This was a case where Twitter broke their own code.

The new version of Twitter for Android has several bugfixes, and now it works.

guess I’ll have to settle for this until I can figure out how to fix GGTwitter myself.

And it seemed such an elegant solution… quite a shame…

@Panc have you tried it with the new Twitter app installed on your Android device?  We can’t support GGTwitter, but Graham is quite responsive and might be able to provide you some help.

Rob