<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://developer.myspace.com/community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>MySpace Developer Team News and Announcements : Activities</title><link>http://developer.myspace.com/community/blogs/devteam/archive/tags/Activities/default.aspx</link><description>Tags: Activities</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 (Build: 20910.1126)</generator><item><title>New Features for OpenSocial 0.9 REST APIs</title><link>http://developer.myspace.com/community/blogs/devteam/archive/2009/11/17/new-features-for-opensocial-0-9-rest-apis.aspx</link><pubDate>Wed, 18 Nov 2009 00:38:00 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:44156</guid><dc:creator>krunal</dc:creator><slash:comments>21</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developer.myspace.com/community/blogs/devteam/rsscomments.aspx?PostID=44156</wfw:commentRss><comments>http://developer.myspace.com/community/blogs/devteam/archive/2009/11/17/new-features-for-opensocial-0-9-rest-apis.aspx#comments</comments><description>&lt;p&gt;Hi everyone, &lt;/p&gt;&lt;p&gt;We are extending our 0.9 REST API offerings by adding new endpoints as well as adding new features to existing endpoints to make our 0.9 offering richer. We are committed to exposing data through Open Standards so app developers can create the finest applications on the web. Some of these new features are not part of the previous MySpace REST APIs so this should encourage you to switch to 0.9 if you haven’t done so already.&lt;/p&gt;&lt;p&gt;The link to the main resource page for REST 0.9 APIs is located &lt;a href="http://wiki.developer.myspace.com/index.php?title=Category:OpenSocial_v0.9_REST_Resources" title="OpenSocial 0.9 REST APIs" target="_blank"&gt;here&lt;/a&gt;. Please find documentation links and highlights of these new features below.&amp;nbsp; Please review our &lt;a href="http://wiki.developer.myspace.com/index.php?title=Developer_Addendum_to_MySpace.com_Terms_of_Use_Agreement" title="Terms of use" target="_blank"&gt;Terms of use&lt;/a&gt;, especially Section 10.2, before you start using these features.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;text-decoration:underline;"&gt;New Endpoints&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;StatusMoodComments &lt;/span&gt;&lt;/p&gt;&lt;p&gt;This endpoint provides a way to fetch the comments posted on a user’s StatusMood updates. It also provides a way to request the comment author’s basic info (image, name and profile URL) along with the comments themselves. This could reduce the number of calls to the server you need to make if you plan on displaying the commenter’s data along with the comments. &lt;/p&gt;&lt;p&gt;Please see details &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_StatusMoodComments" title="StatusMood Comments" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;ProfileComments&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;This provides a way to fetch the comments posted on a user’s profile. It also provides a way to request the comment author’s basic info along with the comments, which again will reduce the number of calls to the server if that information is needed. &lt;/p&gt;&lt;p&gt;Please see details &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_ProfileComments" title="Profile Comments" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;MediaItemComments&lt;/span&gt;&lt;br /&gt;You can now fetch comments posted on a user’s images and videos. Again, this endpoint allows you to fetch the comment author’s basic info to save a second request to the server. &lt;/p&gt;&lt;p&gt;Please see details &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_MediaItemComments" title="MediaItem Comments" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;text-decoration:underline;"&gt;Enhancements&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;StatusMood&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;The StatusMood endpoints now offer APIs to fetch friends’ status mood updates as well as provides a way to fetch StatusMood history.&lt;/li&gt;&lt;li&gt;Apps can also fetch recent comments on a user status in the same call.&lt;/li&gt;&lt;li&gt;MySpace now allows syncing/updating StatusMood from various sources like Twitter. You can get that information in your requests.&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;Check the documentation for the StatusMood APIs &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_StatusMood#Notes" title="StatusMood" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Also don’t forget to check out the filters that &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_StatusMood#Supported_URIs_and_Filters_by_StatusMood_endpoints" title="StatusMood filters" target="_blank"&gt;this endpoint has to offer&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;"&gt;Activities&lt;/span&gt;&lt;/p&gt;&lt;p&gt;We are also adding Activity Streams extension properties to activities returned from our OpenSocial 0.9 Activities endpoint in this release.&amp;nbsp; Activity Streams is a data format that describes what people are doing around the web, for example: posting photos and videos, sharing music with friends and writing blog entries.&amp;nbsp; If you are already familiar with the Activity Streams atom format, you can now access all the Activity Streams goodness, like actors, verbs, objects and object-types, in JSON and plain old XML.&amp;nbsp; Find more information about Activity Streams on the http://activitystrea.ms web site.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Check out the MySpace implementation for the same &lt;a href="http://wiki.developer.myspace.com/index.php?title=OpenSocial_v0.9_Activities#ActivityStrea.ms_Extensions" title="Activities endpoints" target="_blank"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;&lt;span style="font-weight:bold;text-decoration:underline;"&gt;SDKs&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Our PHP and Java &lt;a href="http://wiki.opensocial.org/index.php?title=Client_Libraries" target="_blank" title="SDK link"&gt;SDKs&lt;/a&gt; have been updated to support these new features and the others are in the works. Also, these new features are developed using Open Standards like OpenID, OAuth and OpenSocial which should help make your experience smooth.&lt;/p&gt;&lt;p&gt;Also, if you have missed out, visit this earlier blog post for more information about complete suite of &lt;a href="http://developer.myspace.com/Community/blogs/devteam/archive/2009/09/21/full-support-of-opensocial-0-9-rest-apis-now-available.aspx" title="OpenSocial 0.9 REST APIs" target="_blank"&gt;REST 0.9 APIs&lt;/a&gt;.&lt;/p&gt;&lt;p&gt;Happy coding!&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;img src="http://developer.myspace.com/community/aggbug.aspx?PostID=44156" width="1" height="1"&gt;</description><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/OpenSocial/default.aspx">OpenSocial</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/REST/default.aspx">REST</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/Activities/default.aspx">Activities</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/activity+stream/default.aspx">activity stream</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/myspace+open+platform/default.aspx">myspace open platform</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/ActivityStreams/default.aspx">ActivityStreams</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/MySpaceceID/default.aspx">MySpaceceID</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/ActivityStrea.ms/default.aspx">ActivityStrea.ms</category></item><item><title>What's New in MySpace OpenSocial 0.8</title><link>http://developer.myspace.com/community/blogs/devteam/archive/2009/01/08/what-s-new-in-myspace-opensocial-0-8.aspx</link><pubDate>Thu, 08 Jan 2009 21:09:00 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:33447</guid><dc:creator>Chad Russell</dc:creator><slash:comments>12</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developer.myspace.com/community/blogs/devteam/rsscomments.aspx?PostID=33447</wfw:commentRss><comments>http://developer.myspace.com/community/blogs/devteam/archive/2009/01/08/what-s-new-in-myspace-opensocial-0-8.aspx#comments</comments><description>&lt;p&gt;The spec for OpenSocial 0.8 has been finalized and MySpace’s implementation has been released.&amp;nbsp; There are some key benefits that 0.8 adds over 0.7 on the MySpace platform.&amp;nbsp; The JavaScript container more closely conforms to the spec and some MySpace specific extensions have been pulled into the OpenSocial namespace.&amp;nbsp; The result of this is that your 0.8 app will port much more easily to other platforms than your 0.7 app did.&amp;nbsp; The app data API has been cleaned up and made more useful.&lt;/p&gt;
&lt;p&gt;There are also important new features and capabilities on the MySpace platform that are only available to 0.8 apps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Open Canvas allows your app to be functional for users even before they have added the app. Learn more about &lt;a href="http://developer.myspace.com/community/myspace/da11.aspx" title="Open Canvas"&gt;Open Canvas&lt;/a&gt; &lt;/li&gt;
&lt;li&gt;Custom App Activities allow 0.8 apps to post activities into user Friend Updates. Learn more about &lt;a href="http://developer.myspace.com/Community/blogs/devteam/archive/2008/11/21/beta-release-of-the-myspace-custom-application-activities.aspx" title="Custom App Activities"&gt;Custom App Activities&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;App Notifications will allow apps to message their users directly, and will only be available on 0.8&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;In this three part series of articles, I’ll walk you through the process of creating an application from start to finish with emphasis on the six major improvements that distinguish 0.8 from 0.7 on MySpace:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Enhancements to the opensocial.Person object&lt;/li&gt;
&lt;li&gt;Our new permission model, dubbed Open Canvas, that makes extensive use of opensocial.hasPermission and opensocial.requestPermission&lt;/li&gt;
&lt;li&gt;Updates to app data to accept only valid JSON&lt;/li&gt;
&lt;li&gt;The deprecation of PostTo in favor of opensocial.requestShareApp and opensocial.requsetSendMessage&lt;/li&gt;
&lt;li&gt;Activities&lt;/li&gt;
&lt;li&gt;App Notifications&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;&lt;b&gt;Read &lt;i&gt;What&amp;#39;s New in MySpace OpenSocial 0.8&lt;/i&gt;:&lt;/b&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://developer.myspace.com/community/myspace/da13.aspx"&gt;Part 1 - opensocial.Person and JSON application data&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://developer.myspace.com/community/myspace/da14.aspx"&gt;Part 2 - Open Canvas and requestSendMessage/requestShareApp&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="http://developer.myspace.com/community/myspace/da15.aspx"&gt;Part 3 - Activities&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;img src="http://developer.myspace.com/community/aggbug.aspx?PostID=33447" width="1" height="1"&gt;</description><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/Example+Code/default.aspx">Example Code</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/documentation/default.aspx">documentation</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/OpenSocial/default.aspx">OpenSocial</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/Activities/default.aspx">Activities</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/open+canvas/default.aspx">open canvas</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/0.8/default.aspx">0.8</category></item><item><title>Invites, Open Canvas, and Activities</title><link>http://developer.myspace.com/community/blogs/devteam/archive/2008/12/18/invites-opencanvas-and-activities.aspx</link><pubDate>Thu, 18 Dec 2008 21:18:00 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:31853</guid><dc:creator>Kyle Brinkman</dc:creator><slash:comments>8</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developer.myspace.com/community/blogs/devteam/rsscomments.aspx?PostID=31853</wfw:commentRss><comments>http://developer.myspace.com/community/blogs/devteam/archive/2008/12/18/invites-opencanvas-and-activities.aspx#comments</comments><description>&lt;p&gt;Happy holidays! As an early present I&amp;#39;m pleased to report that we&amp;#39;ve
  released a bunch of new capabilities that should really help users
  engage with your apps on MDP. First up is App Invites: previously when
  users added apps via an invitation, the invite disappeared and users
  were presented with a link to the app. Now, users are immediately taken
  to the app when they accept invites. We got lots of requests for this
  change, and expect it will make it clearer and easier for people to
  start using the applications their friends have recommended&lt;/p&gt;
  &lt;p&gt;We&amp;#39;re
  also releasing today the first stages of our Open Canvas implementation.
  As we&amp;#39;ve &lt;a href="http://developer.myspace.com/Community/blogs/devteam/archive/2008/09/22/upcoming-releases.aspx" title="upcoming releases"&gt;discussed previously&lt;/a&gt;, Open Canvas allows MySpace members to use
  an app canvas page prior to explicitly adding the app. You can read
  full details on &lt;a href="http://developer.myspace.com/community/myspace/da11.aspx"&gt;how Open Canvas works&lt;/a&gt;, but the point I want to
  emphasize is that this capability is entirely optional. Users can still
  add and interact with your applications entirely as before, but you now
  have more options for engaging with users prior to installation. We&amp;#39;re
  excited to see creative implementations of Open Canvas and look forward
  to feedback from you guys on further development.&lt;/p&gt;
  &lt;p&gt;Finally, I
  also have good news on App Activities. Several weeks ago we released &lt;a href="http://developer.myspace.com//Community/blogs/devteam/archive/2008/11/21/beta-release-of-the-myspace-custom-application-activities.aspx" title="Intro Custom App Activities"&gt;Custom App Activities&lt;/a&gt;, a new capability on MDP that allows apps to
  raise events, including text, links, and media, that appear in Friend
  Updates on members&amp;#39; home pages. At that time we limited the service to
  developers of an app in order to allow you guys to test out the
  functionality in advance and help us work out any bugs. As of today
  we&amp;#39;ve opened up the service to allow your apps to raise events for all
  users!&lt;/p&gt;
  
  &lt;p&gt;Learn how to &lt;a href="http://developer.myspace.com/community/myspace/activities.aspx"&gt;create and publish activity templates&lt;/a&gt;.
  
  &lt;/p&gt;&lt;p&gt;Activities are a great way to deepen engagement.
  Raising events allows users to broadcast to their friends all the cool
  things they&amp;#39;re doing on your apps, from winning a hand at poker, to
  rating a new movie or completing a quiz. Like all user-to-user
  communications on MDP, each event must be approved by the initiating
  user. We feel this is the best way to balance message volume, rather
  than relying on black-box quotas or other filtering systems.&lt;/p&gt;
  
  &lt;p&gt;Here&amp;#39;s an example of an approval modal for an activity raised by an application and the resulting event in a friends Updates:&lt;/p&gt;
&lt;img src="http://c1.ac-images.myspacecdn.com/images02/4/l_da9565a230be458ab23040d3d7971d40.gif" alt="Activities Modal" border="" width="592" height="418" hspace="" /&gt;

&lt;p&gt;&lt;img src="http://c3.ac-images.myspacecdn.com/images02/47/l_efc5ad88cae242d0b09b8c79e4b2035e.gif" alt="updates event" border="" width="570" height="88" hspace="" /&gt;&lt;/p&gt;
&lt;br /&gt;
&lt;p&gt;The MDP team has worked really hard to get these features out before the holidays, and we hope this rings in the new year on a good note for everyone. &lt;/p&gt;&lt;p&gt;Happy New Year! &lt;/p&gt;&lt;p&gt;/kyle &lt;br /&gt;&lt;/p&gt;
&lt;img src="http://developer.myspace.com/community/aggbug.aspx?PostID=31853" width="1" height="1"&gt;</description><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/invites/default.aspx">invites</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/Activities/default.aspx">Activities</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/open+canvas/default.aspx">open canvas</category></item><item><title>Beta Release of the MySpace Custom Application Activities</title><link>http://developer.myspace.com/community/blogs/devteam/archive/2008/11/21/beta-release-of-the-myspace-custom-application-activities.aspx</link><pubDate>Fri, 21 Nov 2008 17:18:00 GMT</pubDate><guid isPermaLink="false">8e485011-333f-425c-b84a-1febdb8bfab0:28929</guid><dc:creator>&amp;</dc:creator><slash:comments>10</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://developer.myspace.com/community/blogs/devteam/rsscomments.aspx?PostID=28929</wfw:commentRss><comments>http://developer.myspace.com/community/blogs/devteam/archive/2008/11/21/beta-release-of-the-myspace-custom-application-activities.aspx#comments</comments><description>&lt;p&gt;As part of the OpenSocial 0.8 release , we&amp;#39;re proud to announce a &lt;b&gt;Developer Only&lt;/b&gt; release of MySpace Custom &lt;b&gt;Application Activities&lt;/b&gt;. App Activities allow developers to get app-related events and messages into the Friends Update feed that appears on a user&amp;#39;s home page. &lt;/p&gt;
&lt;p&gt;What does a custom app activity event look like? Here&amp;#39;s a portion of my&lt;b&gt; Friend Update feed&lt;/b&gt;: &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img height="111" alt="Application update" src="http://c2.ac-images.myspacecdn.com/images02/11/l_27b053490c104e91a3405d36168ae31d.png" width="565" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As a developer, you&amp;#39;ll be able to define your Activity Templates and then raise events using those templates in your OpenSocial applications. If you want to skip the chit-chat, you can get started right away by going to the template editor. &lt;/p&gt;
&lt;p&gt;A templatelink appear under each app on the developers &lt;b&gt;My Apps &lt;/b&gt;section. See screen shot below: &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img height="278" alt="Template Link" src="http://c3.ac-images.myspacecdn.com/images02/44/l_0c6429c819464581a64f8015c1da919a.png" width="600" align="absMiddle" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;App Activities Key Limitations:&lt;/b&gt; &lt;/p&gt;
&lt;p&gt;1. Only developers of the apps can successfully raise activity events.&lt;br /&gt;2. Only developers of the apps will see the activity events in their Friend Updates feeds. &lt;br /&gt;3. Apps can raise activity events *without* triggering the Activity Permissions pop-up&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Point #3 is important because when Activitiesgo live, users of the apps will get a pop-up asking for their permission to notify their friends about the activity. This should have implications in developer&amp;#39;s design decisions on when and how frequently to raise activity events. &lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;&lt;b&gt;Limitations, Restrictions and Known Issues&lt;/b&gt; &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;There is a full list of &lt;a title="Restrictions and Known Issues" href="http://developer.myspace.com/Community/forums/t/5826.aspx"&gt;limitations, restrictions and bugs&lt;/a&gt; on the &lt;a title="Activities Forum" href="http://developer.myspace.com/Community/forums/80.aspx"&gt;Activities&lt;/a&gt; Forum.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Getting Started with the Editor&lt;br /&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The template editor is your primary point of interaction for defining activity templates. The template editor allows you to define and preview templates, and provides sample JavaScript for use in your apps. The variables and media items are only used for previewing your events. Please see the &lt;a href="http://developer.myspace.com/community/myspace/activities.aspx"&gt;Getting Started&lt;/a&gt; documentation for a full walkthrough.&amp;nbsp; &lt;/p&gt;&lt;br /&gt;
&lt;p&gt;&lt;img height="300" alt="Template Editor" src="http://c2.ac-images.myspacecdn.com/images02/46/l_724a13e28d934a34894d5387bc853ec9.png" width="600" border="0" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Raising the event&lt;/b&gt; &lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The code sample below shows how to raise the event. (We are using some jQuery constructions here, but you probably be able to see what is going on). &lt;/p&gt;&amp;nbsp;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; sentActivity(){&lt;br /&gt;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; params = {};&lt;br /&gt;&lt;/font&gt;&lt;font color="#008000" size="2"&gt;&lt;font color="#008000" size="2"&gt;&amp;nbsp; //tell which template we want to use &lt;br /&gt;&amp;nbsp; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;params[opensocial.Activity.Field.TITLE_ID] = &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;RateCar&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;;&lt;br /&gt;&amp;nbsp;&lt;font color="#008000"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;params[opensocial.Activity.Field.TEMPLATE_PARAMS] = {&lt;br /&gt;&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;quot;carModel&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;: &amp;quot;Tesla Roadster&amp;quot;&lt;/font&gt;&lt;font size="2"&gt;, &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;starCount&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;: &amp;quot;10&amp;quot; &lt;/font&gt;&lt;font size="2"&gt;};&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;&lt;br /&gt;&lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#000000"&gt;&amp;nbsp; &lt;/font&gt;var&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; activity = opensocial.newActivity(params);&lt;br /&gt;&amp;nbsp; &lt;/font&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&lt;font color="#008000"&gt;//this will show a popup dialog asking the user if he really wants to sent the event.&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&amp;nbsp; opensocial.requestCreateActivity(activity, opensocial.CreateActivityPriority.HIGH, opt_callBack);&lt;br /&gt;}&lt;/font&gt;&lt;font size="2"&gt;&lt;font size="2"&gt; &lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;
&lt;p&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;function&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; opt_callBack(response){&lt;br /&gt;&amp;nbsp; &lt;/font&gt;&lt;font size="2"&gt;&lt;font size="2"&gt;&lt;font color="#008000"&gt;//only for developers, on a developers template we will give you some detailed error info back! &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;br /&gt;&lt;font size="2"&gt;&amp;nbsp; &lt;/font&gt;&lt;font color="#0000ff" size="2"&gt;&lt;font color="#0000ff" size="2"&gt;if&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; (response.hadError()){&amp;nbsp;&lt;br /&gt;&amp;nbsp; &amp;nbsp;&lt;font color="#008000"&gt;&amp;nbsp; //using some jQuery magic&lt;br /&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;#status&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;).append(&lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;lt;span style=&amp;#39;color:red&amp;#39;&amp;gt;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt; + response.getErrorMessage() + &lt;/font&gt;&lt;font color="#a31515" size="2"&gt;&lt;font color="#a31515" size="2"&gt;&amp;quot;&amp;lt;/span&amp;gt;&amp;quot;&lt;/font&gt;&lt;/font&gt;&lt;font size="2"&gt;);&lt;br /&gt;&amp;nbsp; } &lt;br /&gt;}&lt;/font&gt;&lt;/p&gt;&lt;/font&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are looking forward to your feedback,&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.myspace.com/xxx_testuser_xxx"&gt;Marco&lt;/a&gt;, &lt;a href="http://www.myspace.com/sexyanks"&gt;@nkur&lt;/a&gt;, &lt;a href="http://www.myspace.com/jbhate"&gt;Jitesh&lt;/a&gt; and the full MDP team.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img height="48" alt="" src="http://a164.ac-images.myspacecdn.com/images01/67/s_6be1632ba0a36052622fb4422a2f39db.gif" width="48" align="left" border="0" /&gt;&lt;img height="46" alt="" src="http://a15.ac-images.myspacecdn.com/images01/94/m_9f113c9600685e5e76e9ab07ed41ad4e.jpg" width="31" align="left" border="0" /&gt; &lt;img height="44" alt="" src="http://a395.ac-images.myspacecdn.com/images01/72/m_0be7430ea1b6f32a091615cb5406c872.jpg" width="44" align="left" border="0" /&gt;&lt;/p&gt;&lt;img src="http://developer.myspace.com/community/aggbug.aspx?PostID=28929" width="1" height="1"&gt;</description><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/Activities/default.aspx">Activities</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/Marco/default.aspx">Marco</category><category domain="http://developer.myspace.com/community/blogs/devteam/archive/tags/Friend+Updates/default.aspx">Friend Updates</category></item></channel></rss>