cocos helper facebook

  • stparker
    Likes 0

    Problem Description

    Hello there

     

    I have setup my project with cocos helper and i am trying to post to facebook. It all works fin in the xcode simulator but when i try it on my iphone (iphone 6s) the text is missing. the code i am using is as follows:

    SonarCocosHelper::Facebook::Share(“”,””,”test facebook”,””,”Rocket.png”);

    In the simulator the text “test facebook” is visible as is the image Rocket.png

    On my phone the image is visible but the text is not there.

    Any idea what is happening here?

    many thanks

     

     

     

    ;

     

     

     

  • Sonar Systems admin
    Likes 0

    Can you show us a screenshot from the phone.

  • stparker
    Likes 0

    Hi. thanks for the response.  Attached is the picture from my phone.

  • stparker
    Likes 0

    here it is with the picture actually attached this time

    any help gratefully received.

     


  • stparker
    Likes 0


  • stparker
    Likes 0


  • stparker
    Likes 0


  • stparker
    Likes 0


  • stparker
    Likes 0

    seems uploading pictures doesnt want to work.  here is a link to myscreen capture image that should work.

     

    Thanks

    https://onedrive.live.com/redir?resid=276A736415776241!405&authkey=!AP9of0neyPDYIDk&v=3&ithint=photo%2cPNG

     

  • stparker
    Likes 0

  • stparker
    Likes 0


  • Sonar Systems admin
    Likes 0

    Try putting strings in the empty quotes as well to test it.

  • stparker
    Likes 0

    Unfortunately i have tried that already. It doesn’t make any difference. Still no text visible.

  • stparker
    Likes 0

    i just tried it on an iphone 4 and it works fine. the test is visiblealong with the picture. The same code on iphone6s doesnt show any text.

     

  • stparker
    Likes 0

    test should be text in previous post

  • Sonar Systems admin
    Likes 0

    Have you tried it on the iPhone 6s simulator?

  • stparker
    Likes 0

    yes it works fine on the iphone6s simulator. the difference sems to be that it on iphone6s it says “say something about this photo...” on the facebook post screen which isnt present on the simulator or on the iphone4. Its like its uploading a photo and commenting on it rather than uploading a comment with a picture. If i remove the picture the facebook post screen is blank and the option to post is greyed out and it doesnt let me type anything in. 

  • Sonar Systems admin
    Likes 0

    Weird, what iOS deployment version are you using?

  • stparker
    Likes 0

    i’ve tried 6.0, 7.0, 8.0 and 9.2. It doesnt make any difference unfortunately they all show no text.

  • stparker
    Likes 0

    Just tried it on iphone5 and there is no text visible. This might be something with the latest version of ios or possibly the version of facebook.

    iphone 6s: Facebook version 1.0 50.0.0.47.191(0) ios 9.2.1 NO TEXT VISIBLE

    iphone 5: Facebook version 1.0 48.0.0.64.162(0) ios 9.2.1 NO TEXT VISIBLE

    iphone 4: Facebook version 1.0 50.0.0.47.191(0) ios 7.1.2 TEXT IS VISIBLE

  • Sonar Systems admin
    Likes 0

    I just tried it on a iPhone 6, try our gamr MiGHTY DOTS which uses the Cocos Helper (https://play.google.com/store/apps/details?id=sonar.games.mighty.dots )

  • stparker
    Likes 0

    Hello.  So i have downloaded and run MiGHTY DOTS and the facebook post looks the same.  There is no text for your game either.  Here is a onedrive link to the screen capture:

     

    https://onedrive.live.com/redir?resid=276A736415776241!406&authkey=!AHC2qOnMxbM0tO8&v=3&ithint=photo%2cPNG

    I assume there should be some text before your image?. If there should be text there are you using ios 9.2.1 on your iphone?

     

  • Sonar Systems admin
    Likes 0

    9.2.1, it works fine for me.

     

    Try reinstalling Facebook.

  • stparker
    Likes 0

    ive tried reinstalling facebook. it makes no difference for my app or your app.  still no words visible. Ive tried signing out of facebook from iphone settings and signing in again. This makes no difference either. 

    However, if i delete facebook from my phone but log in to facebook through iphone settings it works. i can see the words and post the message.  If i install the facebook app again it stops working and i get no words. I guess you have facebook installed and it works fine? Its very odd becuase i can post the image as a picture at all times. i just cant post any words if i have facebook installed.

     

  • Sonar Systems admin
    Likes 0

    That’s EVIL :(

Login to reply