Twitter Age Gateway Workflow Design

What I’m trying to do here is to explain as easy as possible how to make an age filtering for your twitter follower, as we know that twitter doesn’t support any kind of filtering base on twitter user profile for following your twitter account.

This could be useful when you’re managing any adult or alcohol related twitter account that need legal attention to your follower for publishing related content.

Actually this could be done easily (not so easily if you’re not a developer) by yourself, its required two process,

Daemon Process which is how your system monitoring the followers finding for unverified, blocked, or verified followers from database and twitter API (it will need your twitter username and password or a twitter OAUTH for authentication).

And Follower verifying process, where your follower go to refferral link gateway that included from DM that you sent to your follower for verifying process, follower will be redirected to web page that have form submission to confirm his/her age,gender, etc. After validation completed you may mark that follower as verified.

[](/images/twitterAgeGateway_verifying.png)

Okay now is that for tools to make this happen, I’m gonna use PHP for development so here are some library that you might use :

  • PEAR System_Daemon package, or maybe just create simple php script that make process id on background
    • TwitterOAuth Library, I’m gonna use Abraham Library
    • Small PHP framework like Silex made from Symfony2 mantained by Fabpot
    • Or maybe you want to use Ephipany you may bundle it with Twitter-async both maintained by Jason Mathai

I’m gonna give my work for my next article,
So its to be continued …

Khalid Adisendjaja

Internet tech wanderer. Networking enthusiast. Radio Announcer. Casual Gamer. OpenSource Fans. Information Junkies. My tweet is my own.

Jakarta, Indonesia http://khal.web.id