sdk/src/com/socialize/entity/User.java
@Deprecated
	public boolean setAutoPostPreferences(SocialNetwork...networks) {
		
		boolean tw = isAutoPostToTwitter();
		boolean fb = isAutoPostToFacebook();
		
		setAutoPostToFacebook(false);
		setAutoPostToTwitter(false);
		if(networks != null) {
			for (SocialNetwork network : networks) {
				if(network.equals(SocialNetwork.FACEBOOK)) {
					setAutoPostToFacebook(true);
				}
				else if(network.equals(SocialNetwork.TWITTER)) {
					setAutoPostToTwitter(true);
				}
			}
		}
		
		return tw != isAutoPostToTwitter() || fb != isAutoPostToFacebook();
	}
@Deprecated
	public boolean setAutoPostPreferences(SocialNetwork...networks) {
		
		boolean tw = isAutoPostToTwitter();
		boolean fb = isAutoPostToFacebook();
		
		setAutoPostToFacebook(false);
		setAutoPostToTwitter(false);
		if(networks != null) {
			for (SocialNetwork network : networks) {
				if(network.equals(SocialNetwork.FACEBOOK)) {
					setAutoPostToFacebook(true);
				}
				else if(network.equals(SocialNetwork.TWITTER)) {
					setAutoPostToTwitter(true);
				}
			}
		}
		
		return tw != isAutoPostToTwitter() || fb != isAutoPostToFacebook();
	}
@ Deprecated public boolean setAutoPostPreferences ( SocialNetwork ... networks ) { boolean tw = isAutoPostToTwitter ( ) ; boolean fb = isAutoPostToFacebook ( ) ; setAutoPostToFacebook ( false ) ; setAutoPostToTwitter ( false ) ; if ( networks != null ) { for ( SocialNetwork network : networks ) { if ( network . equals ( SocialNetwork . FACEBOOK ) ) { setAutoPostToFacebook ( true ) ; } else if ( network . equals ( SocialNetwork . TWITTER ) ) { setAutoPostToTwitter ( true ) ; } } } return tw != isAutoPostToTwitter ( ) || fb != isAutoPostToFacebook ( ) ; }
Sets the auto post preferences for the user.
@param networks
@return true if the new settings differed from the old ones.
Sets the auto post preferences for the user .