PlayMaker Actions

The actions scripts can be found in the zip archive at:

Assets/Extensions/MobileSocialPlugin/Addons/PlayMakerActions.zip

You can simply unzip it to the same folder and Mobile Social actions will appear under the playmaker actions menu.  

 

The current actions list is:

Social → Facebook

 

Social → Facebook → Analytics

 

Social → Twitter

 

Social → Twitter → Application Only API

 

Instagram

 

Social → Facebook

MSP_FB_LogIn

Use this action to login in facebook.

Events: 

  • Success Event - fires when successfully logined in facebook.
  • Fail Event - fires when failed to login in facebook.

MSP_FB_LogOut

Use this action to log out from facebook.

MSP_FB_NativePost

Use this action to share native post to facebook. 

Fields: 

  • Message [string] - text of native post.

MSP_FB_NativePostWithTexture

Use this action to share native post with texture.

Fields: 

  • Message [string] - text of native post with texture.
  • Texture [Texture] - image of the native post.

MSP_FB_Post

Use this action to share post to facebook.

Fields: 

  • Link [string] - link of the app.
  • Link Name [string]  - link name of the app.
  • Link Caption [string]  - link title of the app.
  • Link Descripton [string]  - description of the app.
  • Picture url [string]  - url of the picture.

Events: 

  • Success Event - fires when successfully posted in facebook.
  • Fail Event - fires when failed to post in facebook.

MSP_FB_PostTexture

Use this action to share post with the texture in facebook.

Fields: 

  • Message [string] - text of  post with texture.
  • Texture [Texture] - image of the post.

Events: 

  • Success Event - fires when successfully posted with texture in facebook.
  • Fail Event - fires when failed to post with texture in facebook.

MSP_FB_CheckConnection

Use this action to check the facebook connection.

Events: 

  • Fb Connected - fires when facebook connected.
  • Fb Disconnected - fires when facebook disconnected.

Checklist:

  • Connection - if you tick the checkbox, it will connect you if you aren't.

Social → Facebook → Analytics

MSP_FB_Analitycs_ActivateApp

Use this action to activate your app in facebook analytics.

MSP_FB_Analitycs_AchievedLevel

Use this action to achieve a level for facebook analytics.

Fields: 

  • Level [Int32] -  level of the achievement. 

MSP_FB_Analitycs_AddedPaymentInfo

Use this action to added payment info if it available.

Checklist:

  • Is Payment Info Available - it will work if the payment info is available.

MSP_FB_Analitycs_AddedToCart

Use this action for adding the facebook analytics to the cart.

Fields: 

  • Price [float] - price of the product which you added to the cart.
  • Id [string] - id of the product which you added to the cart.
  • Type [string] -type of the product which you added to the cart.
  • Currency [string] - currency of the product which you added to the cart.

Checklist:

  • Is Payment Info Available - it will work if payment info is available.

MSP_FB_Analitycs_AddedToWishList

Use this action for adding the wished products. 

Fields: 

  • Price [float] - price of the product which you added to the wish list.
  • Id [string] - id of the product which you added to the wish list.
  • Type [string] -type of the product which you added to the wish list.
  • Currency [string] - currency of the product which you added to the wish list.

MSP_FB_Analitycs_CompletedRegistration

Use this action to check the completed registration. 

Fields: 

  • Registration Method [string] - a method of the registration.

MSP_FB_Analitycs_InitiatedCheckout

Use this action to iinitiate a checkout for item. 

Fields: 

  • Price [float] - price of the item.
  • Items Count [Int32] - count of the item.
  • Content type [string] - content type of the item.
  • Content Id [string] -content id of the item.
  • Currency [string] - currency of the item.

Checklist:

  • Is Payment Info Available - it will work if payment info is available.

MSP_FB_Analitycs_Purchased

Use this action to check purchased analytics for facebook. 

Fields: 

  • Price [float] - price of the purchased.
  • Items Count [Int32] - count of the purchased.
  • Content type [string] - content type of the purchased.
  • Content Id [string] -content id of the purchased.
  • Currency [string] - currency of the purchased.

MSP_FB_Analitycs_Rated

Use this action to check rated analytics for facebook.

Fields: 

  • Rating [Int32] - price of the rated.
  • Content type [string] - content type of the rated.
  • Content Id [string] -content id of the rated.
  • Max Rating [Int32] - currency of the rated.

MSP_FB_Analitycs_Searched

Use this action to check searched item for facebook analytics.

Fileds:

  • Content Type [string] - content of the search.
  • Search String [string] - main text of the search.

Checkbox:

  • Is Successed - if success returns true. 

MSP_FB_Analitycs_SpentCredits

Use this action to spent credits for analytics in facebook.

Fileds:

  • Credit [float] - amount of credits.
  • Content Type [string] - content of credits.
  • Content Id [string] - id of credits.

MSP_FB_Analitycs_UnlockedAchievement

Use this action to unlock achievement for analytics in facebook. 

Fileds:

  • Description [string] - added description to achievement.

MSP_FB_Analitycs_ViewedContent

Use this action to view content for analytics in facebook.

Fileds:

  • Price [float] - price of the viewed content.
  • Content Type [string] - type of the viewed content.
  • Content Id [string] - id of the viewed content.
  • Currency [string] - currency of the viewed content.

Social → Twitter

MSP_TwitterLogIn

Use this action for twitter login.

Events:

  • Success Event - fires when successfully loged in twitter.
  • Fail event - fires when failed to log in twitter.

MSP_TwitterLogOut

Use this action to logout from twitter.

MSP_TwitterNativePost

Use this action for native post in twitter.

Fileds:

  • Message [string] - text of the native post.

MSP_TwitterNativePostWithTexture

Use this action for native post with image in twitter.

Fileds

  • Message [string] - message of native post with texture.
  • Texture [Texture] - picture of native post with texture.

MSP_TwitterPost

Use this action for twitter post.

Fileds:

  • Message [string] - message of twitter post.

Events:

  • Success Event - fires when successfully posted in twitter.
  • Fail event - fires when failed to post in twitter.

MSP_TwitterPostTexture

Use this action for twitter post with image. 

Fileds:

  • Message [string] - message of twitter post.
  • Texture [Texture] - picture of twitter post.

Events:

  • Success Event - fires when successfully posted in twitter with texture.
  • Fail event - fires when failed to post in twitter with texture.

Social → Twitter → Application Only API

MSP_TwitterRetriveTimeLine

Use this action for retrieve time line. 

Fileds:

  • Loaded Tweets [string] - count of tweets you will load and you can save loaded tweets to variables.
  • User_id [string] - the ID of the user who to return results for.
  • Count [Int32] - specifies the number of tweets to try and retrieve, up to a maximum of 200 per distinct request.

Events:

  • Success Event - fires when successfully retrived time line.
  • Fail event - fires when failed to retrieve time line.

MSP_TwitterTweetSearch

Use this action to search from tweets. 

Fileds:

  • Loaded Tweets [string] - count of tweets you will load and you can save loaded tweets to variables.
  • Query [string] - a UTF-8, URL-encoded search query of 500 characters maximum, including operators.
  • Count [Int32] - the number of tweets to return per page, up to a maximum of 100. Defaults to 15.

Events:

  • Success Event - fires when successfully search tweet.
  • Fail event - fires when failed to search tweet.

MSP_TwitterUserLookUpRequest

Use this action to look up into the request. 

Fileds:

  • User_id [string] - the ID of the user who to return results for.
  • Id [string] - id of the player.
  • Name [string] - name of the user.
  • Screen_name [string] - screen name of the user.
  • Friends_count [Int32] - count of friends.
  • Profile_image_url [string] - http url profile image.
  • Profile_image_url_https [string] - https url profile image.

Events:

  • Success Event - fires when successfully requested look up
  • Fail event - fires when failed to request look up

MSP_TwitterCheckConnection

Use this action to check a connection to twitter.

Events:

  • Success Event - fires when successfully connected to twitter.
  • Fail Event - fires when failed to connect to twitter.

Checkbox:

  • Connection - Connect to twitter if not connected.

MSP_TwitterFollowersidsRequest

Use this action for follower's side request to twitter of. 

Fileds:

  • Users_id [string] - the ID of the users who to return results for.
  • Ids [string] - count of followers, and fill it with id of the followers.

Events:

  • Success Event - fires when successfully got follower's side request.
  • Fail event - fires when failed to get follower's side request.

MSP_TwitterFriedsidsRequest

Use this action for a friend's side request. 

Fileds:

  • Users_id [string] - the ID of the users who to return results for.
  • Ids [string] - count of friends, and fill it with id of friends.

Events:

  • Success Event - fires when successfully got friend's side request.
  • Fail event - fires when failed to get friend's side request.

Instagram

MSPInstaPostTexture

Use this action to post with image in Instagram.

Fileds:

Message [string] - text of the post.

Texture [Texture] - image of the post.

Events:

  • Success Event -  fires when successfully posted in Instagram.
  • Fail Event - fires when failed to post in Instagram.
  • App Not Installed Event - fires when Instagram app isn't installed.

MSPInstaPostScreehShot

Use this action to post with screenshot to Instagram.

Fileds:

Message [string] - text of the post.

Texture [Texture] - image of the post.

Events:

  • Success Event -  fires when successfully posted in Instagram.
  • Fail Event - fires when failed to post in Instargam.
  • App Not Installed Event - fires when Instagram app isn't installed.