How to share score on Facebook status from Cocos2D-x App ?

  • Asney1
    Likes 0

    Problem Description

    Hi,
    I hope that you are fine,

    my problem is:

    In my game, when the player finish the game, there is a scene in my cocos2d-x game that ask for a name to enter in the score table. This scene has a Facebook button (that doesn't do any action right now) that is supposed to pop up a dialog and share the score on his wall with a simple message like "I just scored 7654296 points in "this game". ".

    I can't find any example,  Is there any native API that I can use on windows?

    Thanks in advance for any help you can provide.

  • Sonar Systems admin
    Likes 0

    Hello we will be doing tutorials on Facebook soon. Stay tuned to the link below for more information:

    http://www.sonarlearning.co.uk/questions.php?question-topic=41

  • Asney1
    Likes 0

    OK ! ! Thank you alot


    This reply has been verified.
  • hgokturk
    Likes 0

    my share spontaneously closes right after it becomes visible. do you have any idea why?


    This reply has been verified.
  • Sonar Systems admin
    Likes 0

    What platform are you using it on?

  • Vineet
    Likes 0

    To make this work, Make sure internet on your phone is wroking. Many people are sweating over this and the reason it crashes or vanishes is because there’s no internet on handheld device.

Login to reply