Announcement

Collapse
No announcement yet.

Facebook Integration

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Facebook Integration

    Hi guys,
    Back when i was a Unity developer, i could use the Facebook SDK for Unity to log in to facebook,get access token,etc... .Is there a way to do this in UE 4 ? Any help/advice would be appreciated.
    Also, can you guys tell me if there will be a Facebook SDK for UE 4 in the future ?

    #2
    hey JohnMirrah i was working with this for some time, is more an less difficult to integrate facebook with c++ unreal, the theory is get the token via HTTP request after that continuosly send GET request to extract some info from facebook, anyway is a lot of work and i dont have enough time on my project, so i decide use Facebook c# SDK this provide me lots of interactivity with facebook and is easy to use, so i create a wrapper to call facebook c# SDK from unreal, for create the DLLs i use this en visual c# https://www.nuget.org/packages/UnmanagedExports and after that i called with regular funcionallity on UE with this: https://wiki.unrealengine.com/Linking_Dlls, is the easy way, of course this wrapper just work on desktop, so if you need do that for mobile, you need implement HTTP request in unreal, is like create your own API for facebook, i know is absolutly posible, but as i say before is lot of time, maybe in the future i or another can release a plugin

    Cheers!

    Comment


      #3
      Their is an existing Facebook OnlineSubsystem.
      Just a noob grinding in this game we call Life.

      Comment


        #4
        Thks for the support, guys!

        Comment


          #5
          hey agentleo! i research about facebook subsystem too, but never found a way to get tokens id from post or album or something, and a way to post image on wall, in my project i need post a screen shot taken from game buffer, and publish on a wall, you know if that is posible with the subsystem? i really not reaseach properly, my project was made in short time, but i still interest on this, because i am develop my own mobile game!.

          Comment


            #6
            a Facebook plugin for UE: https://sellfy.com/p/K4RA/
            [Plugin] Social Network (Facebook):https://forums.unrealengine.com/show...gin-(Facebook)

            Comment


              #7
              Originally posted by Devfo Studios View Post
              a Facebook plugin for UE: https://sellfy.com/p/K4RA/
              Devfo - I sure hope this works good - I just bought it because I've been searching for it for a while now! Looking forward to playing around with this
              Sincerely,
              Daniel Wallace
              3d Artist & Project Management Specialist
              walldiv@gmail.com
              Skype: Walldiv
              LinkedIn: www.linkedin.com/pub/daniel-wallace/8b/798/b39/
              Wix Profile: http://walldiv.wix.com/danwallace
              Demo Reel: https://www.youtube.com/watch?v=2gdI...ature=youtu.be

              Comment


                #8
                Originally posted by Devfo Studios View Post
                a Facebook plugin for UE: https://sellfy.com/p/K4RA/
                Devfo - please see the attached screenshot. When logging into facebook from a test scene in UE4, I get the following permissions that are invalid scopes - they don't even exist in facebook permissions scopes - please advise!

                manage_friendslists, publish_stream, status_update, offline_access
                Click image for larger version

Name:	capture.jpg
Views:	1
Size:	18.1 KB
ID:	1094285


                ======UPDATE=======
                This was simply fixed by editing the array that builds for the permissions (See screenshot below)


                This POWERHOUSE of a plugin is fantabulous!!! Great buy and I'm happy as a clam with it

                Click image for larger version

Name:	capture.jpg
Views:	1
Size:	79.5 KB
ID:	1094286
                Last edited by walldiv; 12-01-2015, 12:59 AM.
                Sincerely,
                Daniel Wallace
                3d Artist & Project Management Specialist
                walldiv@gmail.com
                Skype: Walldiv
                LinkedIn: www.linkedin.com/pub/daniel-wallace/8b/798/b39/
                Wix Profile: http://walldiv.wix.com/danwallace
                Demo Reel: https://www.youtube.com/watch?v=2gdI...ature=youtu.be

                Comment


                  #9
                  Originally posted by walldiv View Post
                  Devfo - please see the attached screenshot. When logging into facebook from a test scene in UE4, I get the following permissions that are invalid scopes - they don't even exist in facebook permissions scopes - please advise!

                  manage_friendslists, publish_stream, status_update, offline_access
                  [ATTACH=CONFIG]68250[/ATTACH]


                  ======UPDATE=======
                  This was simply fixed by editing the array that builds for the permissions (See screenshot below)


                  This POWERHOUSE of a plugin is fantabulous!!! Great buy and I'm happy as a clam with it

                  [ATTACH=CONFIG]68251[/ATTACH]
                  Yes, my fault for not removing some permissions from the Login Node. Some of the scopes are deprecated and I had them in there for testing.
                  Thanks for catching that. I removed the invalid scopes and updated the the download.
                  On a side note: If you are trying to make a call that you have not asked permission for, you will get an error in the "Error Response" output pin.

                  All available permissions that you can use: https://developers.facebook.com/docs...v2.4#reference
                  Last edited by Devfo Studios; 12-01-2015, 02:09 AM.
                  [Plugin] Social Network (Facebook):https://forums.unrealengine.com/show...gin-(Facebook)

                  Comment


                    #10
                    I can resolve your problem! I've just released plugin with Facebook implementation for iOS & Android!

                    More info:
                    https://forums.unrealengine.com/show...line-Subsystem

                    Patryk,
                    gameDNA studio
                    Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                    Comment


                      #11
                      Originally posted by Devfo Studios View Post
                      a Facebook plugin for UE: https://sellfy.com/p/K4RA/
                      30eu fix

                      Originally posted by gameDNA studio
                      I can resolve your problem! I've just released plugin with Facebook implementation for iOS & Android!

                      More info:
                      https://forums.unrealengine.com/show...line-Subsystem

                      Patryk,
                      gameDNA studio

                      80eu fix?
                      Last edited by KillerSneak; 06-24-2016, 12:53 PM.
                      Do Not Argue Toxic Game
                      Balloony PoP get it on Google Play
                      Fishy Blub Blub
                      get it on Google Play

                      Comment


                        #12
                        Originally posted by KillerSneak View Post
                        30eu fix


                        80eu fix?
                        My plugin is a NATIVE Facebook implementation for Android & iOS so this is a significant advantage.
                        Realtime Database Firebase | Ultimate Mobile Kit Firebase | Extended Facebook | Universal Mobile Ads | Google Analytics

                        Comment


                          #13
                          30e fix is not fix. It is 30e ****** away, because it does not work on anything.

                          Comment


                            #14
                            Hello!, somebody know if this plugin still works in unreal version 4.21?, I write to the author of the plugin through the web that you can purchase but i had no reply

                            Comment


                              #15
                              Bump!
                              Guys! How to include Facebook plugin in Android build?

                              I'm getting packaging error:
                              UATHelper: Packaging (Android (ETC2)): Facebook SDK not found in C:\Program Files\Epic Games\UE_4.25\Engine\Plugins\Online\OnlineSubsystemFacebook\Source\ThirdParty\Android\NotForLicensees\FacebookSDK

                              Comment

                              Working...
                              X