Add twitter configuration
Fix error getting user id