My Project
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Properties | List of all members
GifSocialShare Class Reference

[Created by SwanDev] Social share class for sharing GIF/image/media URL and/or text message. *** Developers be aware that not all social network support preview and playback GIF with url. *** Tested results are marked in each Social enum types. Use the ShareTo(...) method to share content(s). More...

Public Types

enum  Social {
  Facebook = 0 , Twitter_Mobile = 2 , Tumblr = 3 , VK = 4 ,
  Pinterest = 5 , LinkedIn = 6 , Odnoklassniki = 7 , Reddit = 8 ,
  QQZone = 10 , Weibo = 11 , LineMe = 14 , Skype = 15 ,
  Whatsapp = 16 , Telegram = 17 , FlipBoard = 18 , Twitter = 1 ,
  GooglePlus = 9 , Baidu = 12 , MySpace = 13
}
 

Public Member Functions

void ShareTo (Social socialNetwork, string title="", string description="", string imageUrl="", string shareUrl="", long phoneNo=19876543210, string tags="")
 
void SendEmail (string toMailAddress, string subject, string body)
 

Properties

string LineBreak_URL [get]
 

Detailed Description

[Created by SwanDev] Social share class for sharing GIF/image/media URL and/or text message. *** Developers be aware that not all social network support preview and playback GIF with url. *** Tested results are marked in each Social enum types. Use the ShareTo(...) method to share content(s).

Member Enumeration Documentation

◆ Social

Enumerator
Facebook 

Valid Parameters: shareUrl (FULL or Bitly URL for GIF or other media file has a similar preview),.

Twitter_Mobile 

Valid Parameters: description, imageUrl (The @UserName parameter, that will redirect to the mentioned Twitter user page. Could be your studio/company Twitter account), shareUrl (Requires Bitly URL for media file for showing preview), tags (e.g: "tag1,tag2")

Tumblr 

Valid Parameters: description, shareUrl (Requires FULL URL for media file for showing preview), tags (e.g: "tag1,tag2")

VK 

Valid Parameters: title, description, shareUrl (FULL or Bitly URL for GIF or other media file has a similar preview),.

Pinterest 

Valid Parameters: description, imageUrl (Requires FULL URL for GIF or other media file for showing preview), shareUrl (An URL that redirect to other web page when the image is clicked),.

LinkedIn 

Valid Parameters: shareUrl (Requires Bitly URL for GIF or other media file for showing preview),.

Odnoklassniki 

Valid Parameters: title, imageUrl (Requires FULL URL for GIF or other media file for showing preview), shareUrl (An URL that redirect to other web page when the image is clicked),.

Reddit 

Valid Parameters: title, description, shareUrl (no preview),.

QQZone 

Valid Parameters: title, shareUrl (no preview),.

Weibo 

Valid Parameters: title, description, shareUrl (no preview),.

LineMe 

Valid Parameters: title (work in case the mobile device browser Desktop Mode enabled), description (work in case the mobile device browser Desktop Mode enabled), shareUrl (Requires Bitly URL for GIF or other media file for showing preview),.

Skype 

Valid Parameters: title, description, shareUrl (Requires Bitly URL for GIF or other media file for showing preview),.

Whatsapp 

Valid Parameters: title, description, shareUrl (Requires Bitly URL for GIF or other media file for showing preview), phoneNo (e.g: Area code and Phone Number together, no '+' sign before them)

Telegram 

Valid Parameters: title, description, shareUrl (Bitly URL for GIF or other media file has better preview result),.

FlipBoard 

Valid Parameters: shareUrl (Bitly URL for GIF or other media file has better preview result),.

Twitter 

Deprecated.

GooglePlus 

Deprecated.

Baidu 

Deprecated.

MySpace 

Deprecated.


The documentation for this class was generated from the following file: