Posts tagged with twitter

Adding iOS5 native Twitter support to your cocos2d app

In iOS5, Apple introduced native Twitter integration via the "Tweet Sheet" (aka TWTweetComposeViewController), allowing you to easily implement Twitter in your iOS app without worrying about all the heavy lifting. If you tried implementing Twitter support in the past and found yourself lost in a sea of OAuth source files, trying to handle authentication yourself, and banging your head over what to do with various responses, you'll know how much of a relief it is that this now "just works."

This is great for UIKit, but what if you want to implement the same simple Twitter sharing functionality in your cocos2d game? Luckily, it's nearly as easy!

Continue reading...

Weekend hack: Posting to Twitter via SMS in China

twitter-smsTwitter provides phone numbers to allow you to update your status via SMS. Unfortunately, local numbers are only available in a few countries: the US, Canada and India. Elsewhere, you need to text their international number in the UK, which can be quite expensive. ReignDesign is based in Shanghai, China - so how to update Twitter for the price of a local SMS? Via a local Twitter-like service, and a simple PHP script, it's possible!
Continue reading...

Twitter XSS Vulnerability

Twitter XSS

Over the weekend we saw the emergence of two similar XSS exploits on the popular social web application Twitter (with a third showing up early on Monday morning). In the hope of exposing some the tricks of the trade, I'd like to explore the exploit to help raise awareness for how XSS attacks like this can occur. I do not purport to be an expert in this field, merely someone who finds a basic understanding of security "a must" and javascript hacking kinda cool 😉
Continue reading...