facebook sharing Dialog via prime31 plugin

hi,
i am using prime31 social plugin for iOS. but not able to get (identical Facebook sharing Dialog Box). my application making posts on FB , but my client want Dialog box, how could i get it.
here is some code which i Picked up from sample project

 if( FacebookBinding.canUserUseFacebookComposer() )
        {

            // ios 6 Devices having this Dialog

            // ensure the image exists before attempting to add it!

            if( !System.IO.File.Exists( filename ) )

                filename = null;

            FacebookBinding.showFacebookComposer( "i have captured a image : " + Time.deltaTime, filename, "" );
        }
        else
        {

            // Non ios 6 Devices

            Debug.Log("Execution OF Posting 333333  At Non ios 6 Device");

            Facebook.instance.postImage( bytes, "i have captured a image ", CompletionHandler );

        }

i have set Deployment Target to iOS 6.0 as well. Please Help :slight_smile:

1 Answer

1

From documentation:

var parameters = new Dictionary<string,string>
{
    { "link", "http://prime31.com" },
	{ "name", "link name goes here" },
	{ "picture", "http://prime31.com/assets/images/prime31logo.png" },
	{ "caption", "the caption for the image is here" }
};
FacebookBinding.showDialog( "stream.publish", parameters );