Package org.encuestame.social.api

Examples of org.encuestame.social.api.IdenticaAPITemplate.updateStatus()


                    EnMePlaceHolderConfigurer.getProperty("identica.consumer.secret"),
                    socialAccount.getAccessToken(),
                    socialAccount.getSecretToken());
            try {
                log.debug("Publish on Identica............>");
                published = identicaAPIOperations.updateStatus(tweetText);
                log.debug("Publish on Identica...... "+published);
            } catch (Exception e) {
                published.setDatePublished(Calendar.getInstance().getTime());
                log.error(e);
                e.printStackTrace();
View Full Code Here


         String apiKey = "801f384ec5dc1aecc4801841aae5ac9d";
         String apiSecret = "858629866209502c1023ce2dd86f14a2";
         String token = "4639a3db610ee773fd48088eba2b42b6";
         String tokenSecret = "884d825bb5fe5f8c6bcadbe413d1b99d";
         IdenticaAPITemplate ca = new IdenticaAPITemplate(apiKey, apiSecret, token, tokenSecret);
         ca.updateStatus("@encuestame testing..."+RandomStringUtils.randomAlphabetic(10));
    }

    //@Test
    public void linkedInAPItest(){
        //OAUTH 1 ACCESS TOKEN OAuth1Token [value=e222076b-f187-474a-9ffd-1c7f27760fec, secret=75db960b-2951-48c4-b030-293166a0de8f]
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.