Package org.encuestame.social.api.support

Examples of org.encuestame.social.api.support.BuzzProfile


    /*
     * (non-Javadoc)
     * @see org.encuestame.core.social.SocialAPIOperations#updateStatus(java.lang.String)
     */
    public TweetPublishedMetadata updateStatus(final String status) {
        final BuzzProfile jsonData = new BuzzProfile();
        //jsonData.getData().getObject().setType("note");
        //jsonData.getData().getObject().setComment(status);
        @SuppressWarnings("rawtypes")
        final Map response = getRestTemplate().postForObject(
                this.GOOGLE_REST_UPDATE, jsonData, Map.class, this.GOOGLE_KEY);
View Full Code Here


    @Test
    public void testJson() throws JsonParseException, JsonMappingException, IOException{
        String json = "{\"data\":{\"id\":null,\"displayName\":null,\"kind\":\"kined\",\"aboutMe\":\"abbout me\",\"profileUrl\":null,\"emails\":[],\"url\":[],\"photos\":null,\"organizations\":[]}}";
        JsonFactory factory = new JsonFactory();
        ObjectMapper mapper = new ObjectMapper(factory);
        BuzzProfile bz = new BuzzProfile();
//        bz.getData().setAboutMe("abbout me");
//        bz.getData().setEmails(new ArrayList<BuzzProfile.Email>());
//        bz.getData().setKind("kined");
//        bz.getData().setUrl(new ArrayList<BuzzProfile.Urls>());
//        bz.getData().setOrganizations(new ArrayList<BuzzProfile.Organizations>());
View Full Code Here

TOP

Related Classes of org.encuestame.social.api.support.BuzzProfile

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.