You are not logged in.   Log in | Register

Friendster

From $1

Guidelines for Posting Content to Friendster

Embed Code Guidelines:

  • In a Flash object code, this parameter is not allowed: allowScriptAccess="sameDomain". Friendster always inserts into the object code: allowScriptAccess="never".
  • Friendster decodes any embedded code. Thus you can't pass any url-encoded parameter in your Flashvars parameters.

For instance, if you try to pass: flashvars="param1=0&param2=o%3D12%26fpl%3D184495%26fx%3D"

It will be turned by Friendster into: flashvars="param1=0&param2=o=12&fpl=184495&fx=" automatically replacing the escape codes with their original characters (%26 will be replaced with &).

  • Friendster disables linking out from Flash widgets. To walk around this issue - add to your widget, code that will display a copy URL box.

Whitelisting

To 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 Sections

The 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 Layout

You 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:

  1. The contentIsLayout parameter should be set to 'true'.
  2. The friendsterSections parameter should be set to "ProfileLayout".
  3. The layout content should be provided in the friendsterProfileLayoutContent parameter.

In this scenario, please tag the content you provide with the following tags:

<gigyaLayoutHeader>
</gigyaLayoutHeader>
<gigyaLayoutCSS>
</gigyaLayoutCSS>

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 Example

The 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:
Files (0)