Yesterday I saw a tweet from Chip Rodgers who was returning from the SAPTechEd in Beijing.
I was curious and created a user on Weibo. This act was more challenging than I expected since everything is in Chinese. I then started to get interested in the Weibo API – unfortunately for me most of the pages were in Chinese.
curl -u user:passwordhttp://api.t.sina.com.cn/statuses/friends_timeline.xml?source=appkey
Here is the River action script that I used.
default xml namespace = $CTX.collection.getDefaultDataNamespace();
var inputXMLData = new XML(currInput.getData());
var productvalue = inputXMLData.Product.toString().replace(/\n/g,””);
var custname = inputXMLData.CustomerName.toString().replace(/\n/g,””);
var urlString2 = “http://api.t.sina.com.cn/statuses/update.json?source=2103967875&status=Customer++‘”+custname+”‘+has+a+new+product++'”+productvalue+”‘”;
var request2 = $UTILS.http.createRequest(urlString2, “POST”);
var response2 = $UTILS.http.sendRequest(request2);
$UTILS.log.info(“response code is “+ response2.getResponseCode());
$UTILS.log.info(“6 is ” + response2.getBody().split(“\n”).join(“”));
Note: You need to encrypt the “username:password” using Base64. Here is the site that I used to encrypt my authentication details.
In my opinion, the attitude is very short-sighted. A recent deal between Atos and Ufida has sensitized me to the critical importance of the Asian software market. SAP also sees the importance of this market as revealed by the recent announcement at the Sapphire in Beijing that they are planning to spend 2 billion dollars in China until 2015.
The fact that a Weibo API exists and is similar to that of Twitter would suggest that existing Twitter integrations could probably be easily ported to Weibo. Switching to the new API, however, probably won’t be enough. Can the current Twitter sentiment analysis tools handle Chinese or Chinese slang? Do existing assumptions regarding how Twitter users interact with businesses and other consumers apply to the Chinese market? Are Klout’s assumptions regarding social media influence applicable to China?
China represents an unbelievable opportunity for non-Chinese enterprise software vendors. The challenge for such vendors won’t be one of technology but rather one of culture.