WidgetPublisher:MySpace
MySpace is a social networking website with an interactive, user-submitted network of friends, personal profiles, blogs, groups, photos, music, and videos for teenagers and adults internationally. Its headquarters are in Beverly Hills, California, USA, where it shares an office building with its immediate owner, Fox Interactive Media, which is owned by News Corporation. MySpace became the most popular social networking site in the United States in June 2006. According to comScore, MySpace was overtaken internationally by main competitor Facebook in April 2008, based on monthly unique visitors. MySpace employs 1,000 employees, after laying off 30% of its workforce in June 2009; the company does not disclose revenues or profits separately from News Corporation. The 100 millionth account was created on August 9, 2006, in the Netherlands (Source: Wikipedia).
Due to MySpace TOS, it is required to create a specific app for each widget, and to have it approved by MySpace. The creation of an application is very simple.
<div id='ldWidget'><script type = "text/javascript">function getVariable(name, person) { var req = opensocial.newDataRequest(); req.add(req.newFetchPersonAppDataRequest(person, name), name); req.send(getVariable_callback);}function getVariable_callback(response) { var variable = response.get('profileURL');for (i in variable.getData()){ url=(variable.getData()[i]['profileURL']);}os_param = {};opensocial.makeRequest(url, function (data) {document.getElementById('ldWidget').innerHTML =data;},os_param);}getVariable('profileURL', 'OWNER');</script> <div class="msp"> <div class="app_name">[appId displayed in the URL]</div> <div class="app_key">[OAuth Consumer Key]</div> </div>
DO NOT ENTER YOUR SECRET KEY IN THE METADATA FILE, BUT FAX IT TO WIDGETAVENUE.
The app will be ready to run when the secret key has been entered in the system by WidgetAvenue, and MySpace has approved the app.