initial version (based on orient-tweet example)