GithubHelp home page GithubHelp logo

Comments (8)

swiese avatar swiese commented on April 26, 2024

Nice! Are you using the SDK from Microsoft at
https://github.com/Microsoft/winsdkfb
Let me know if you need any help getting this working. This is something that we have wanted to do for a bit but haven't had the bandwidth to tackle. The SDK there is missing some of the features of our SDK but it would be awesome to get it included, maybe as a beta feature, and add functionality as it becomes available in that sdk.

Upgrading this is something we never got around to upgrading the sdk from v6 to v7. It could be done pretty easily on the backend but we would want the public method to remain the same.

from facebook-sdk-for-unity.

Whyser avatar Whyser commented on April 26, 2024

Yes I'm using the SDK you mentioned. :)

I've successfully implemented everything and it's working and is following the same 'design' as the rest of the SDK, but I'm unsatisfied by the method Init(...) as I've stated in my original post. What do you mean it could easily be done on the back-end but not the front-end? I see no issue with the user being exposed to FacebookDelegate<IInitResult> instead of InitDelegate. It would be logical for IInitResult to maybe contain information if the user is already logged since OnInitComplete already calls OnLoginComplete (for some reason?).

Sorry if there's something I'm missing here!

from facebook-sdk-for-unity.

swiese avatar swiese commented on April 26, 2024

Generally in our SDKs we try to avoid changes that a breaking unless completely necessary or we move to a new sdk such as v8.

I agree that it would be nice to have some of the information such as the access token. What I think would be nice if we

  1. Add a new init call that takes in a FacebookDelegate
  2. Deprecate the old InitCalls but keep them working by just wrapping the existing OnInitDelegate inside a new FacebookDelegate.

from facebook-sdk-for-unity.

Whyser avatar Whyser commented on April 26, 2024

Looking forward to the Init(...) changes!

I've now made a pull request containing the support for UWP.

from facebook-sdk-for-unity.

hassanselim0 avatar hassanselim0 commented on April 26, 2024

Thanks for putting the effort in bringing Windows to the SDK, this is something I needed and wasn't sure how to do myself :)
Does the master branch on your fork have this feature working? anything special I need to do in order to get it working?

from facebook-sdk-for-unity.

Whyser avatar Whyser commented on April 26, 2024

The master branch on my fork should be working, but only for UWP apps (Windows 10 (and Mobile)) at the moment. It's worth noting though that the winsdkfb has a lot of bugs which seems to get resolved very slowly. In other words, not production ready, but you should be able to implement it meanwhile waiting for updates. Further questions regarding the winsdkfb should probably be posted here: #10 or on the issue-page on my fork. :)

from facebook-sdk-for-unity.

swiese avatar swiese commented on April 26, 2024

Windows phone is no longer supported in unity

from facebook-sdk-for-unity.

hassanselim0 avatar hassanselim0 commented on April 26, 2024

I just checked the last few unity release notes. It seems that they stopped supporting WP8, but WP8.1 is still supported (as well as Win10 Mobile).

from facebook-sdk-for-unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.