Help me please!! I cannot post an image to twitter via Cocoshelper

Cocos Helper (C++)
  • poa.greb
    Likes 0

    Problem Description

    I can tweet the text but the image is not posted.

    This is my Code.

    void GameOverScene::capturetwitter()
    {
        
    #if (CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
       

        std::stringstream filename;
        filename << "screenshot_" << time(NULL) << ".png";
        utils::captureScreen(CC_CALLBACK_2(GameOverScene::afterCapturedtw, this),filename.str());


    #endif
        
    }

    void GameOverScene::afterCapturedtw(bool succeed, const std::string& outputFile)
    {

        SonarCocosHelper::Twitter::Tweet("tweet", "Hana Math", "outputFile.c_str()");
    }

     

    This is the pic from logcat.

  • Sonar Systems admin
    Likes 0

    ATM we don’t support images for Android using Twitter Tweet, does the application crash or just not post an image.

     

    We are looking into it though.

  • poa.greb
    Likes 0

    Thank you for your reply.

    It doesnt crash. just not post an image.

    so what’s about Facebook? does it support image?

    When will it support posting image?

     

     

Login to reply