In this recipe, we will go a step further and learn how to fetch the user's data from their Twitter account. Since the process of authentication is the same as in the previous section, we will focus on the things we need to do to change the project we created in the previous recipe in order to get the information we want from the user's account.
You can modify the project we created in the previous recipe or you can duplicate it.
Carry out the following steps to fetch the user's Twitter data:
TwitterHelper.scalawith the following code:
package code.lib import net.liftweb.util.Props import org.scribe.builder.ServiceBuilder import org.scribe.builder.api.TwitterApi import ...