Trying to use built-in twitter function getting error through logcat

I am using the built in twitter 

local function twitter_post()

local options = {

   message = “Hello Twitter world!”

}

native.showPopup( “twitter”, options )

end

It wont pop up the twitter dialog box and so I did a ./logcat.sh and I get this error output…

I/InputDispatcher(  576): Delivering touch to: action: 0x1, toolType: 1

V/Corona  ( 5464): > Class.forName: CoronaProvider._native.popup.twitter.LuaLoader

V/Corona  ( 5464): WARNING: Could not load ‘CoronaProvider._native.popup.twitter.LuaLoader’

W/System.err( 5464): java.lang.ClassNotFoundException: CoronaProvider._native.popup.twitter.LuaLoader

W/System.err( 5464): at java.lang.Class.classForName(Native Method)

 

 

Should I be adding a folder to my project somewhere?

Looking at the docs, “twitter” isn’t a supported option for native.showPopup(), perhaps it’s been deprecated.  But as far as I remember, its the “social” plugin that has a twitter option.  See:

https://docs.coronalabs.com/api/library/native/showPopup.html

Rob

Thanks Rob, Yes I use the social plugin.  However my boss doesnt like because he wants the twitter button to go right to twitter and not pop up a box that makes you press Twitter again.  (I know, right).   But at least I know now that the built in Twitter will not function.  I did see this on the Twitter site    http://silverthorax.com/libs/twitter/index.html     have you heard of this at all?  Thank you for help!

I don’t know anything about that library.  It might work for you. I would however suggest you look in our sample code for our Twitter example.  This handles the login process and such without any other popup’s (other than the login/permission one the first time).

Thats the way I would go.

Rob

Looking at the docs, “twitter” isn’t a supported option for native.showPopup(), perhaps it’s been deprecated.  But as far as I remember, its the “social” plugin that has a twitter option.  See:

https://docs.coronalabs.com/api/library/native/showPopup.html

Rob

Thanks Rob, Yes I use the social plugin.  However my boss doesnt like because he wants the twitter button to go right to twitter and not pop up a box that makes you press Twitter again.  (I know, right).   But at least I know now that the built in Twitter will not function.  I did see this on the Twitter site    http://silverthorax.com/libs/twitter/index.html     have you heard of this at all?  Thank you for help!

I don’t know anything about that library.  It might work for you. I would however suggest you look in our sample code for our Twitter example.  This handles the login process and such without any other popup’s (other than the login/permission one the first time).

Thats the way I would go.

Rob