- Home /
Question by
daminhtung · Sep 30, 2014 at 10:13 AM ·
pluginfacebooku3dxt
U3DXT - Cann't post to Facebook
This is my code:
public void PostOnFaceBook()
{
Application.CaptureScreenshot("Test.png");
UIImage tmp = new UIImage(Application.persistentDataPath + "/Test.png");
// share
if (CoreXT.IsDevice)
{
SocialXT.Post (SLRequest.SLServiceTypeFacebook, _stringPostOnWtitterAndFaceBook, tmp, _link, true);
}
System.IO.File.Delete(Application.persistentDataPath + "/Test.png");
}
if I change text when show popup, post complete to Facebook and show on my timeline. else if I don't change text when show popup and text on popup(that "Test facebook") is default i can't post to facebook.
Please support!
errorpostfacebook.png
(265.7 kB)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613164101im_/https://answers.unity.com/themes/thub/images/avi.jpg)