I'm having trouble with the Facebook UnitySDK when I use the FB.Feed() method for posting on user's timeline. The share dialog closes before the post is completed, Right after i press the "Post" button. This only happens when I test the app on the iOS Device since on the Unity Editor it works fine and I can post on the user's wall. User Login and getting username and profile pic, for example, work fine. The problem is when I try to share the user's score on facebook. Here's my code for the method:

public void Share_Score(){
        FB.Feed (
            toId: "",
            link: "http://www.facebook.com/appname",
            linkName: "App Name",
            linkCaption: "I just scored " + " points",
            linkDescription: "Playing this game is awesome!",
            actionName: "Appname Fan Page" 

The only error that appears on XCode is the following: 2015-02-11 10:13:07.025 hotdogcontest[749:224865] FBSDKLog: FBLinkShareParams: only "http" or "https" schemes are supported for link thumbnails


1 Answer 1


replace the link to something like this

link: "http://apps.facebook.com/" + FB.AppId + "/?challenge_brag" + (FB.IsLoggedIn ? FB.UserId : "guest")
  • 1
    \$\begingroup\$ What does the code piece you gave change? \$\endgroup\$ Jul 31, 2016 at 18:02

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .