Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Mobile Social Plugin - PlayMaker Actions

Discussion in 'Assets and Asset Store' started by stanislav-osipov, Jun 2, 2014.

  1. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Hello.
    First implementation of Playmaker actions just added to the Mobile Social Plugin plugins
    More action will be added with etch release.

    I would appreciate any comments and feedback.
    Feel free to post:

    Bug Reports
    Feature Request
    General Thoughts - how to improve Playmaker actions implementation for Mobile Social Plugin plugin

    The current actions list is:

    Social → Facebook
    • MSP_FB_LogIn
    • MSP_FB_LogOut
    • MSP_FB_NativePost
    • MSP_FB_NativePostWithTexture
    • MSP_FB_Post
    • MSP_FB_PostTexture
    • MSP_FB_CheckConnection

    Social → Facebook → Analytics
    • MSP_FB_Analitycs_ActivateApp
    • MSP_FB_Analitycs_AchievedLevel
    • MSP_FB_Analitycs_AddedPaymentInfo
    • MSP_FB_Analitycs_AddedToCart
    • MSP_FB_Analitycs_AchievedLevel
    • MSP_FB_Analitycs_ActivateApp
    • MSP_FB_Analitycs_AddedPaymentInfo
    • MSP_FB_Analitycs_AddedToCart
    • MSP_FB_Analitycs_AddedToWishList
    • MSP_FB_Analitycs_CompletedRegistration
    • MSP_FB_Analitycs_InitiatedCheckout
    • MSP_FB_Analitycs_Purchased
    • MSP_FB_Analitycs_Rated
    • MSP_FB_Analitycs_Searched
    • MSP_FB_Analitycs_SpentCredits
    • MSP_FB_Analitycs_UnlockedAchievement
    • MSP_FB_Analitycs_ViewedContent

    Social → Twitter
    • MSP_TwitterLogIn
    • MSP_TwitterLogOut
    • MSP_TwitterNativePost
    • MSP_TwitterNativePostWithTexture
    • MSP_TwitterPost
    • MSP_TwitterPostTexture

    Social → Twitter → Application Only API
    • MSP_TwitterRetriveTimeLine
    • MSP_TwitterTweetSearch
    • MSP_TwitterUserLookUpRequest
    • MSP_TwitterCheckConnection
    • MSP_TwitterFollowersidsRequest
    • MSP_TwitterFriedsidsRequest

    Instagram
    • MSPInstaPostTexture
    • MSPInstaPostScreehShot
     
    Last edited: Sep 14, 2014
  2. Whiskey Mike

    Whiskey Mike

    Joined:
    Jun 14, 2014
    Posts:
    15
    Hi! I'm working on a project built (almost) entirely with PlayMaker & am anxious to try out your social plugin. I did get an error on one of the actions in the archive:

    Assets/Extensions/MobileSocialPlugin/Addons/PlayMakerActions/PlayMakerActions/Twitter/MSPTwitterLogIn.cs(33,38): error CS0117: `SPTwitter' does not contain a definition for `twitter'

    Also, you may want to consider including the actions un-archived in the package. So that they automatically propagate (right term?) to the PlayMaker Action list. Took me a little while to find them. :)
     
  3. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Hello.
    Yep, my bad, the action is fixed.
    I will send you undated version in few hours. Unfortunately I am unable to provide it un-archived. Because it will trigger errors on project without PlayMaker.
     
  4. Whiskey Mike

    Whiskey Mike

    Joined:
    Jun 14, 2014
    Posts:
    15
    Sounds great, thanks! No worries about the archive - not a big deal at all.
     
  5. Whiskey Mike

    Whiskey Mike

    Joined:
    Jun 14, 2014
    Posts:
    15
    Hey there! I did not know about your iOS Native plugin when I bought the Mobile Social plugin. I grabbed iOS Native today & imported it, switched over to using that for Twitter access. Works great so far!

    One question: I notice that there's no Twitter Login action at all in this plugin, just actions for posting Tweets with or without a screenshot. If I try to Tweet without being logged in already, I get an iOS prompt that no Twitter accounts are set up (with a button that takes me to settings, where I can add one). Is that basically just how it works now in iOS 7+, or is there still a valid use for a login action (and a "check if user is logged in" action, to use in conjunction with it)?
     
  6. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Hello.All this posting flow is controlled by IOS SDK. You do not have to do anything.
    I if user has specified login info earlier he will just post the message if no, he will be prompted to fill in log in info.

    Cheers!
     
  7. Jacob Lau

    Jacob Lau

    Joined:
    Jul 28, 2014
    Posts:
    6
    hello, Mr. Lacost,

    I am the developer to using your Mobile Social Plugin.

    In fact, I am using it for upload posts and photo to facebook and instrgram , but there are some device (e.g Samsung Mobile etc.) can not upload the photo to facebook well but it works in Instagram. It show the error with the message "Upload failed.javaip.FileNotFoundException:http://graph.facebook.com/me/photos"

    Like Below Image:


    What is the problem and how to fix it?
    Thank you.

    Best Regards,
    Jacob
     
  8. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    As I sad in another thread, it's hard to say without seeing the full device log. Could you please send it to stans.assets@gmail.com
    Cheers!
     
  9. StarHunter32

    StarHunter32

    Joined:
    Feb 10, 2013
    Posts:
    99
    Hi, could I please ask what are the Playmaker extensions to this plugins regarding Facebook and Twitter compared to the iOS Native Playmaker social actions for Fb and Twitter? Are the login/logout actions the only differences?
     
  10. stanislav-osipov

    stanislav-osipov

    Joined:
    May 30, 2012
    Posts:
    1,790
    Well it's just all power if socials networks APIs.
    The actions list is old, sorry for reminder, The action list is updated!
     
  11. purbanics

    purbanics

    Joined:
    Mar 6, 2014
    Posts:
    19
    I am not using these two actions now, so not a big problem for me, just wanted to let you know that when I click the Playmaker actions: "MSP_FB_Analitycs_AddedToCart"
    I get this in the console:

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. HutongGames.PlayMaker.Actions.MSP_FB_Analitycs_AddedToCart.Reset () (at Assets/Extensions/MobileSocialPlugin/Addons/PlayMakerActions/Facebook/Analytics/MSP_FB_Analitycs_AddedToCart.cs:29)
    3. HutongGames.PlayMakerEditor.ActionSelector.SelectAction (System.Type actionType)
    4. HutongGames.PlayMakerEditor.ActionSelector.DoActionButton (System.Type actionType)
    5. HutongGames.PlayMakerEditor.ActionSelector.DoActionCategory (System.String categoryName)
    6. HutongGames.PlayMakerEditor.ActionSelector.DoFullActionList ()
    7. HutongGames.PlayMakerEditor.ActionSelector.DoActionList ()
    8. HutongGames.PlayMakerEditor.ActionSelector.DoGUI ()
    9. HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI ()
    10. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
    Clicking "MSP_FB_Analitycs_ViewedContent"
    results in:

    Code (CSharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. HutongGames.PlayMaker.Actions.MSP_FB_Analitycs_ViewedContent.Reset () (at Assets/Extensions/MobileSocialPlugin/Addons/PlayMakerActions/Facebook/Analytics/MSP_FB_Analitycs_ViewedContent.cs:21)
    3. HutongGames.PlayMakerEditor.ActionSelector.SelectAction (System.Type actionType)
    4. HutongGames.PlayMakerEditor.ActionSelector.DoActionButton (System.Type actionType)
    5. HutongGames.PlayMakerEditor.ActionSelector.DoActionCategory (System.String categoryName)
    6. HutongGames.PlayMakerEditor.ActionSelector.DoFullActionList ()
    7. HutongGames.PlayMakerEditor.ActionSelector.DoActionList ()
    8. HutongGames.PlayMakerEditor.ActionSelector.DoGUI ()
    9. HutongGames.PlayMakerEditor.BaseEditorWindow.OnGUI ()
    10. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
     
  12. purbanics

    purbanics

    Joined:
    Mar 6, 2014
    Posts:
    19
    Please add Playmaker action
    https://unionassets.com/mobile-social-plugin/playmaker-actions-187
    to get the data from the users public profile into variables.
    I would like to get the gender so I can use that information in your "Google Mobile Ad" plugin, in ad targeting.

    https://developers.facebook.com/docs/facebook-login/permissions/v2.3#reference-public-profile
    Br,
    Peter