Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/UTwitterIntegrationBase
Description
Kicks off a tweet, using the platform to show the UI. If this returns false, or you are on a platform that doesn't support the UI, you can use the TwitterRequest method to perform a manual tweet using the Twitter API
| Name | ShowTweetUI |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Engine/TwitterIntegrationBase.h |
| Include Path | #include "Engine/TwitterIntegrationBase.h" |
| Source | /Engine/Source/Runtime/Engine/Private/ScriptPlatformInterface.cpp |
UFUNCTION ()
virtual bool ShowTweetUI
(
const FString & InitialMessage,
const FString & URL,
const FString & Picture
)
true if a UI was displayed for the user to interact with, and a TID_TweetUIComplete will be sent
Parameters
| Name | Remarks |
|---|---|
| InitialMessage | [optional] Initial message to show |
| URL | [optional] URL to attach to the tweet |
| Picture | [optional] Name of a picture (stored locally, platform subclass will do the searching for it) to add to the tweet |