- Home /
 
FB.Feed() "properties" argument not working as expected
According to facebook for unity documentation, Facebook.feed has an argument named properties that will append additional links to a facebook post (see https://developers.facebook.com/docs/unity/reference/current/FB.Feed).
This works:
     FB.Feed(
         link : linkString, 
         linkName : linkNameString, 
         linkCaption : thisFeedItem.details, 
         linkDescription : thisFeedItem.title, 
         picture : FBPicLink(), 
         callback : ShareDone
         //properties: shareLinks
     );
 
               This doesn't:
     FB.Feed(
         link : linkString, 
         linkName : linkNameString, 
         linkCaption : thisFeedItem.details, 
         linkDescription : thisFeedItem.title, 
         picture : FBPicLink(), 
         callback : ShareDone,
         properties: shareLinks
     );
 
               The error I get is precompile: "No overloaded method for FB.Feed takes 7 arguments."
I was able to get it to work by making sure that shareLinks is a Dictionary, NOT Dictionary. However, the additional links in the dictionary do not display anywhere in the facebook post.
Your answer
 
             Follow this Question
Related Questions
Can't submit facebook app for review 1 Answer
Facebook SDK for Unity, problem with the open graph stories 1 Answer
Facebook SDK restarts app 1 Answer
facebook leaderboard for windows phone 0 Answers
Rewarding Facebook requests 0 Answers