UTwitterIntegrationBase::ShowTweetUI

Kicks off a tweet, using the platform to show the UI.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TwitterIntegrationBase.h

Include

#include "Engine/TwitterIntegrationBase.h"

Source

/Engine/Source/Runtime/Engine/Private/ScriptPlatformInterface.cpp

Syntax

virtual bool ShowTweetUI
(
    const FString & InitialMessage,
    const FString & URL,
    const FString & Picture
)

Remarks

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

Returns

true if a UI was displayed for the user to interact with, and a TID_TweetUIComplete will be sent

Parameters

Parameter

Description

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss