demo/src/com/socialize/demo/implementations/twitter/UserTimelineActivity.java
@Override
	public void executeDemo(String text) {
		
		TwitterUtils.link(this, new SocializeAuthListener() {
			
			@Override
			public void onError(SocializeException error) {
				handleError(UserTimelineActivity.this, error);
			}
			
			@Override
			public void onCancel() {
				handleCancel();
			}
			
			@Override
			public void onAuthSuccess(SocializeSession session) {
				
				TwitterUtils.get(UserTimelineActivity.this, "statuses/user_timeline.json", null, new SocialNetworkPostListener() {
					
					@Override
					public void onNetworkError(Activity context, SocialNetwork network, Exception error) {
						handleError(context, error);
					}
					
					@Override
					public void onCancel() {
						handleCancel();
					}
					
					@Override
					public void onAfterPost(Activity parent, SocialNetwork socialNetwork, JSONObject responseObject) {
						
						try {
							JSONArray jsonArray = responseObject.getJSONArray("data");
							
							StringBuilder builder = new StringBuilder();
							
							int len = jsonArray.length();
							
							for (int i = 0; i < len; i++) {
								if(i > 0) {
									builder.append("\n");
								}
								builder.append(jsonArray.getString(i));
							}
							
							handleResult(builder.toString());
						}
						catch (JSONException e) {
							handleError(parent, e);
						}
					}
				});
			}
			
			@Override
			public void onAuthFail(SocializeException error) {
				handleError(UserTimelineActivity.this, error);
			}
		});
	}
@Override
	public void executeDemo(String text) {
		
		TwitterUtils.link(this, new SocializeAuthListener() {
			
			@Override
			public void onError(SocializeException error) {
				handleError(UserTimelineActivity.this, error);
			}
			
			@Override
			public void onCancel() {
				handleCancel();
			}
			
			@Override
			public void onAuthSuccess(SocializeSession session) {
				
				TwitterUtils.get(UserTimelineActivity.this, "statuses/user_timeline.json", null, new SocialNetworkPostListener() {
					
					@Override
					public void onNetworkError(Activity context, SocialNetwork network, Exception error) {
						handleError(context, error);
					}
					
					@Override
					public void onCancel() {
						handleCancel();
					}
					
					@Override
					public void onAfterPost(Activity parent, SocialNetwork socialNetwork, JSONObject responseObject) {
						
						try {
							JSONArray jsonArray = responseObject.getJSONArray("data");
							
							StringBuilder builder = new StringBuilder();
							
							int len = jsonArray.length();
							
							for (int i = 0; i < len; i++) {
								if(i > 0) {
									builder.append("\n");
								}
								builder.append(jsonArray.getString(i));
							}
							
							handleResult(builder.toString());
						}
						catch (JSONException e) {
							handleError(parent, e);
						}
					}
				});
			}
			
			@Override
			public void onAuthFail(SocializeException error) {
				handleError(UserTimelineActivity.this, error);
			}
		});
	}
/* (non-Javadoc)
@see com.socialize.demo.DemoActivity#executeDemo()