updating twitter example (but broke camera socket ex)