Code Monkey home page Code Monkey logo

Comments (7)

alakshmi1030 avatar alakshmi1030 commented on May 11, 2024

Just to clarify - you are only talking about the "Game Requests" feature and not all of the features listed under "Game Services", correct?

from winsdkfb.

TedHoward avatar TedHoward commented on May 11, 2024

ShowRequestsDialog works for us.
The Facebook docs are not always so great. They often use 'game request', 'app request', and 'request' interchangeably. Even worse is it's not always the same thing - some are user-to-user and some are app-to-user. ShowRequestsDialog is user-to-user which is most often what you'll want in a game.

from winsdkfb.

alakshmi1030 avatar alakshmi1030 commented on May 11, 2024

We do support game requests via the request dialog: http://microsoft.github.io/winsdkfb/#request_dialog
The app must be specified as type "game" in the Facebook Developer Portal.

from winsdkfb.

D4rkL1ch avatar D4rkL1ch commented on May 11, 2024

Hi,
I do have a question regarding the Game Requests.
We are during the development of Puzzle Craft 2 game for WUA and we are using App Invites on all other platforms (iOS, Android) - I have seen that we can only use game requests on WUA.
The problem is that when I am using the sample code from your wiki, it does not work, the case is:

  1. user is logged in
  2. I am invoking the game request - game opens webview, which tries to login user once again, but in the webview
  3. after logging in, webview tells me that the access_token is wrong and nothing happens

Do you know if I require some additional permissions or some other things set up before using game requests with a WUA app?

Thanks for the response in advance!

Best regards,
Olgierd Rutkowski

from winsdkfb.

cbarkerms avatar cbarkerms commented on May 11, 2024

In your login code, try forcing the WebView to see if that helps:

await _session.LoginAsync(_permissions, SessionLoginBehavior.ForcingWebView);

from winsdkfb.

D4rkL1ch avatar D4rkL1ch commented on May 11, 2024

Hey,
thanks for the solution. We will try that and see how it works.

from winsdkfb.

adiviness avatar adiviness commented on May 11, 2024

Please feel free to reopen if this game requests problem is still being experienced.

from winsdkfb.

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.