Twitter widget for set top box


We are creating Twitter widget app for IPTV Arris Set Top Boxes. We are using DreamGallery 4.7, Ekioh browser with webkit. Front end is only supported in SVG. How can we implement Twitter log in. And how can we use other Twitter APIs? Is there any aplicat