|
|
|
|
Gigya's Developer Documentation > Wildfire Sharing Tool > Developer's Guide > Post to Social Networks > Friendster
FriendsterFrom $1Table of contents
Guidelines for Posting Content to FriendsterEmbed Code Guidelines:
For instance, if you try to pass: flashvars="param1=0¶m2=o%3D12%26fpl%3D184495%26fx%3D" It will be turned by Friendster into: flashvars="param1=0¶m2=o=12&fpl=184495&fx=" automatically replacing the escape codes with their original characters (%26 will be replaced with &).
WhitelistingTo add you widget to Friendster whitelist, send an email to the following addresses:
The email should include the following content: the domain where the widget is being hosted, a link to a webpage where the widget can be viewed, and your contact info.
Available SectionsThe following is a list of the sections available for posting content to Myspace profile: Content Sections: Media, About, Meet. Layout Sections: ProfileLayout.
You can restrict the list of sections displayed in the sections' selection dropdown by using the friendsterSections parameter. Example:To restrict Friendster to show only the "About me" and "I'd Like to meet" sections, add the following to your configuration object: friendsterSections:'About,Meet'
Note - Layout sections are meant to be used in conjunction with the contentIsLayout parameter. The next section elaborates on this point.
Posting a LayoutYou can only post a profile layout to Friendster. To post a profile layout to Friendster, a couple of parameters in your configuration object should be set as follows:
In this scenario, please tag the content you provide with the following tags: <gigyaLayoutHeader> The content within the first two tags will be placed in the "Add Media" box and the content within the latter pair will be placed in the "Customize CSS" box. Note: If you have configured Wildfire to show a codebox on Friendster, please use the friendsterContent parameter to provide content, making sure you have set it to the same content you provided within the <gigyaLayoutCSS> tags.
Code ExampleThe following HTML code is an example of using Wildfire configured to post layout to a Friendster profile: <textarea id="friendsterlyt" style="display: _fckstyle="display: none">
<gigyaLayoutHeader>
<!-- MEDIA CODE GOES HERE -->
</gigyaLayoutHeader>
<gigyaLayoutCSS>
<!-- CSS CODE GOES HERE -->
</gigyaLayoutCSS>
</textarea>
<div id="divWildfirePost"></div>
<script>
var pconf={
contentIsLayout: 'true',
friendsterSections: 'ProfileLayout',
friendsterProfileLayoutContent: 'friendsterlyt',
friendsterContent: 'friendsterlyt',
UIConfig: '<config><display showPost="true" showBookmark="false" showEmail="false" networksToShow="friendster" networksWithCodebox="friendster"></display></config>'
};
Wildfire.initPost('123456', 'divWildfirePost', 400, 300, pconf);
</script>
Tags:
|
||||
|