|
|
|
|
Gigya's Developer Documentation > Wildfire Sharing Tool > Developer's Guide > Post to Social Networks > Facebook
From $1Table of contentsFacebook Posting DestinationsWildfire supports two main destinations for posting Widgets in Facebook:
You may also post your Widgets to your own custom branded Facebook application (please refer to the relevant section below for a detailed explanation).
Controlling the Posting DestinationUse the useFacebookMystuff configuration parameter to control the destination of your Widget. To post your Widget to the Newsfeed section in Facebook, set the useFacebookMystuff configuration parameter to 'false': conf['useFacebookMystuff'] = 'false'; // This will cause your Widget to be posted to the Newsfeed section If the useFacebookMystuff parameter is set to 'true' or is not set at all, your widget will be posted to "My Stuff", a designated Facebook application.
Note: If you are using code generated by one of our Setup Wizards, the default Wildfire behavior is posting to Newsfeed.
Posting to NewsfeedPlease note that Facebook resizes Flash content and preview images to fit the Newsfeed. The resize logic is as follows:
Posting to "My Stuff""My Stuff" is a Facebook application created by Gigya to serve as a container for Widgets on the Facebook platform. When the user posts a Widget to My Stuff, it will appear in its full size on the My Stuff page. Additionally, while posting, users are given the option to publish their Widgets in a few other locations:
Best PracticesWe recommend using the facebookPreviewURL, facebookPreviewURL2 and facebookPreviewURL3 configuration parameters to customize the preview images displayed in the corresponding Facebook sections.
Posting to a Custom Branded Facebook ApplicationYou may choose to post Widgets to your own designated Facebook application. This may be implemented in two methods: Ask Gigya to Create a Custom Branded Facebook ApplicationYou can request to have a Custom Branded Facebook application be created for you. contact us via support@gigya-inc.com so that we can setup a dedicated Facebook application for you. When the setup is complete, we will send you an ID number for your dedicated application. Once received, please proceed to add the facebookAppID parameter to Wildfire and set its value to the ID number you received. For example: conf[‘facebookAppID’]="123"; Open your Own Facebook ApplicationIf you have created your own designated Facebook application, you may instruct Wildfire to post Widgets to your Facebook application, using the facebookURL configuration parameter. The value of this parameter should be the URL that you would like Wildfire to open when your users post to Facebook.
Tags:
|
||||
|