aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes Interoperability between Social Programming Platforms Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Interoperability between Social Programming Platforms" Watch "Interoperability between Social Programming Platforms" New topic
Author

Interoperability between Social Programming Platforms

Rohan kanade
Ranch Hand

Joined: Oct 22, 2009
Posts: 106
Hi Mark, i would like to know if in your upcoming book, there is any topic about the interoperability between different social programming platforms?

since currently depending on one single platform , say "twitter" , is a very bad business model, since basically the platform owner can either produce their own app competing with my app.

how to deal with such situations?

and also how can we use Social Programming platforms for better business intelligence ?


SCJP 1.6 ,SCWCD 5
Mark Hawker
Author
Ranch Hand

Joined: Apr 07, 2010
Posts: 31
Hey, Rohan.

Rohan kanade wrote:i would like to know if in your upcoming book, there is any topic about the interoperability between different social programming platforms?

A great question. My short answer is yes, it is. There is a full walkthrough of how to build a microblog which utilizes all three platforms at once. This takes up an entire quarter of the book and utilises an MVC library called CodeIgniter.

Each has its own benefits and each is as fragile! The complexity is in how each platform authenticates users. For example, Facebook uses cookies, Twitter uses OAuth and GFC uses a combination of cookies or OAuth. The detection of a user using Facebook is fairly easy and is probably the most ubiquitous. The client-side JavaScript library picks up the Facebook cookie and performs many of the verification function for you. It also integrates seamlessly with the server-side library.

This is an area which will become even more seamless in the future, perhaps towards a unified identifier such as an e-mail address as supported by things like OpenID.

Rohan kanade wrote:how can we use Social Programming platforms for better business intelligence?

I guess it depends on what things you are wishing to track. Much of the intelligence you will be collecting will be to do with "status" updates, interactions with friends and, increasingly, with games and applications. The Twitter Streaming API, for example, allows for huge data collection projects!


Mark Hawker

Author of the upcoming book entitled "The Developer's Guide to Social Programming" available to pre-order on Amazon.
Rohan kanade
Ranch Hand

Joined: Oct 22, 2009
Posts: 106
I am planning a project with my partner which will be using lots of social data to profile users and provide intelligence and marketing data on them.

one small question i would like to ask is, i am very good at perl, but from what i read in your answer, I will need to use javascript a lot. Do these platform provide API in only one single programming language or there is some flexibility?
Mark Hawker
Author
Ranch Hand

Joined: Apr 07, 2010
Posts: 31
Hey, Rohan.

Rohan kanade wrote:one small question i would like to ask is, i am very good at perl, but from what i read in your answer, I will need to use javascript a lot. Do these platform provide API in only one single programming language or there is some flexibility?

Most/all of the social platforms have server-side client libraries in many different languages which includes PERL but are not classed as "official". For example, there is a PERL library for Facebook and Twitter.

JavaScript is used primarily for handling authentication client-side with the exception of Twitter which does its authentication via OAuth which could be in PERL. The book details how to combine JavaScript with a server-side language which could be PERL.

The biggest issue that you'd need to think about with aggregating social data is permissions. Check that you are meeting the privacy policies for each of the platforms!
Rohan kanade
Ranch Hand

Joined: Oct 22, 2009
Posts: 106
Mark Hawker wrote:The biggest issue that you'd need to think about with aggregating social data is permissions. Check that you are meeting the privacy policies for each of the platforms!


me and my partner's motto is , " never ever do any evil"
Mark Hawker
Author
Ranch Hand

Joined: Apr 07, 2010
Posts: 31
Rohan kanade wrote:me and my partner's motto is , " never ever do any evil"

[url=http://en.wikipedia.org/wiki/Don't_be_evil]A bit like Google's[/url]...
 
Consider Paul's rocket mass heater.
 
subject: Interoperability between Social Programming Platforms