This article focuses on what Twitter external object does and gives an example of how to use it.
Take a look to Twitter external object.
Create the following Panel for Smart Devices.
Layout
Variables
&Image : Image data type
Events
Event 'Tweet'
Composite
If &Image.IsEmpty()
Twitter.Tweet("My GeneXus app tweet this!")
Else
Twitter.Tweet('My GeneXus app tweet this with an image attached!', &Image)
EndIf
EndComposite
Endevent
Event 'Follow GX'
Twitter.Follow("@GeneXus")
EndEvent
First, the user can select an image for the &Image variable
Then, just tap the Tweet button. This will open a Twitter application dialog with the text and image selected, and a button Send available to finish the tweet publication.
Note: The message can be modified in this dialog before sending it.
Optionally, the end user can tap over "Follow GX to follow @GeneXus account.