public List<BuzzActivity> getWallPosts() throws NotAuthentifiedException, OAuthMessageSignerException, OAuthExpectationFailedException, OAuthCommunicationException, ClientProtocolException, IOException, JSONException { if (!isAuthentified()) throw new NotAuthentifiedException(NETWORK); ReadableResponse response = Utils.signedGetRequest(GET_WALLPOSTS, httpOauthConsumer, null); return reader.readActivities(response); }
public List<BuzzUser> getFollowed() throws ClientProtocolException, IOException, NotAuthentifiedException, OAuthMessageSignerException, OAuthExpectationFailedException, OAuthCommunicationException, JSONException { if (!isAuthentified()) throw new NotAuthentifiedException(NETWORK); ReadableResponse response = Utils.signedGetRequest(GET_FOLLOWED, httpOauthConsumer, null); return reader.readUsers(response); }
public BuzzUser getUser(String identifier) throws JSONException, OAuthMessageSignerException, OAuthExpectationFailedException, OAuthCommunicationException, ClientProtocolException, IOException, NotAuthentifiedException { if (!isAuthentified()) throw new NotAuthentifiedException(NETWORK); ReadableResponse response = Utils.signedGetRequest(GET_USER1 + identifier + GET_USER2, httpOauthConsumer, null); return reader.readUser(response); }