API reference
API reference
Select your platform
No SDKs available
No versions available

OvrPlatform_Media_ShareToFacebook Function

Launch the Share to Facebook modal, allowing users to share local media files to Facebook. Accepts a PostTextSuggestion string for the default text of the Facebook post. Requires a FilePath string as the path to the image to be shared to Facebook. This image should be located in your app's internal storage directory. Requires a ContentType indicating the type of media to be shared (only 'photo' is currently supported). The payload for the result is defined as FOvrShareMediaResult.

Signature

void OVRPLATFORM_API OvrPlatform_Media_ShareToFacebook(UGameInstance *GameInstance, FString PostTextSuggestion, FString FilePath, EOvrMediaContentType ContentType, OvrPlatform_Media_ShareToFacebook_Delegate &&Delegate)

Parameters

GameInstance: UGameInstance *
PostTextSuggestion: FString
FilePath: FString
Delegate: OvrPlatform_Media_ShareToFacebook_Delegate &&

Returns

void OVRPLATFORM_API