public Relationship updateFriendship(String screenName, boolean enableDeviceNotification
, boolean retweets) throws TwitterException {
ensureAuthorizationEnabled();
return factory.createRelationship(post(conf.getRestBaseURL() + "friendships/update.json",
new HttpParameter[]{
new HttpParameter("screen_name", screenName),
new HttpParameter("device", enableDeviceNotification),
new HttpParameter("retweets", enableDeviceNotification)
}));
}