public String refresh(ArrayList<String> list1) throws TembooException
	{
		String f = "";

		NewsFeed newsFeedChoreo = new NewsFeed(session);
		NewsFeedInputSet newsFeedInputs = newsFeedChoreo.newInputSet();
		//fbAccessToken = token();

		//fbAccessToken = finalizeOAuthResults.get_AccessToken();
		newsFeedInputs.set_AccessToken(list1.get(0));

		NewsFeedResultSet newsFeedResults = newsFeedChoreo.execute(newsFeedInputs);
		String json = newsFeedResults.get_Response();

		JsonParser jp = new JsonParser();
		JsonElement root = jp.parse(json);
		JsonObject rootobj = root.getAsJsonObject(); 

		JsonArray feed = rootobj.get("data").getAsJsonArray();

		for(int i = 0; i < feed.size(); i++) {
			String name = feed.get(i).getAsJsonObject().get("from").getAsJsonObject().get("name").getAsString();
			JsonElement msg = feed.get(i).getAsJsonObject().get("message");

			String pict = "";
			if(msg==null){
				continue;

			}
			JsonElement pic = feed.get(i).getAsJsonObject().get("picture");

			if(pic != null){
				pict = pic.getAsString();
				f += name + "\n" + msg+ "\n" + pict + "\n\n";
			}
			else{
				f += name + "\n" + msg + "\n\n";
			}

		}

		return f;
	}