What is MySpace?
If you have a profile of “Developer” on MySpace then you will be able to create applications. These can be of 2 types: internal or external. The first are developed to introduce into our profile iframes with our applications, the second type (which we are interested in remaining article) allow us to create ‘Lives App’ or external applications of MySpace in order to extract information from the API and use it on our websites. This tool is known as MySpaceID.
Implementation:
The first thing we must do is create an application on our MySpace account developers (must have prior permission to develop, this procedure takes about 48hs).
When we have access, go https://developer.myspace.com/community/ -> MyApps -> Create New MySpace Application and choose type.
In ‘external callback’ Enter the URL of our site and remember to save OAuth Consumer Key and OAuth Consumer Secret.
Once created the application must publish, we should see a sign: Status changed to [Live], if this happens we are able to use our site.
What is Facebook Connect?
Facebook’s new product called Facebook Connect allows us to use the same login on multiple sites without the need to record us as a new user.
With this new service, we may also import all our contacts and our social network, with full profile, to the other sites included in the agreement.
The rough idea is to share the record of Facebook on other sites to avoid having to register each time.
How to Link to Facebook?
1. Create a Facebook application development: we must start by having a user, then enter the developers area https://www.facebook.com/developers/editapp.php to register a new application. We have to fill optional fields and CallBack URL with the URL of the site to which we link Facebook. Leave the other in default would be the right thing, then accept.
I recommend saving the API Key, because we use it in a moment.
2. File Connection: Now we return to our project. We can create a folder to save files in Facebook, or place them in the same root.
The first file you need to create is one that creates the connection to Facebook:
xd_receiver.htm
1 2 3 4 5 6 7 | |