Help me please!! I cannot post an image to twitter via Cocoshelper
Cocos Helper (C++)-
poa.grebLikes 0Problem 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 adminLikes 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.grebLikes 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