Giter Site home page Giter Site logo

esb-connector-twitter's Introduction

Twitter ESB Connector

The Twitter connector allows you to connect to Twitter, an online social networking service and microblogging service that enables its users to send and read text-based posts of up to 140 characters, known as 'tweets'. The connector uses the Twitter REST API version 1.1 to connect to Twitter, get and create tweets, retrieve followers, and more.

Build

mvn clean install

How You Can Contribute

You can create a third party connector and publish in WSO2 Store.

https://docs.wso2.com/display/ESBCONNECTORS/Creating+and+Publishing+a+Third+Party+Connector

esb-connector-twitter's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

esb-connector-twitter's Issues

Tweet with # or @ is not getting published on Twitter Account

Description:
Tweet with # or @ is not getting published on Twitter Account

Suggested Labels:
TwitterConnector

Suggested Assignees:

Affected Product Version:

EI 6.4.0

Steps to reproduce:
After Creating Developer Acconts on apps.twitter.com and getting consumerKey, consumerSecret, accessToken, accessTokenSecret Follow Below Steps

  1. Download Twitter Connector 2.0.7
  2. Upload and Enable the Twitter Connector on Enterprise Integrator Webportal.
  3. Write a Proxy. Sample below
    <?xml version="1.0" encoding="UTF-8"?> <proxy xmlns="http://ws.apache.org/ns/synapse" name="twitterdemo" startOnLoad="true" statistics="disable" trace="disable" transports="http,https"> <target> <inSequence> <property name="messageType" scope="axis2" type="STRING" value="application/json"/> <property name="ContentType" scope="axis2" type="STRING" value="application/json"/> <property expression="json-eval($.message)" name="Tweet"/> <twitter.init> <consumerKey>RR81c5RusT9pub7R5l0ZhkQ</consumerKey> <consumerSecret>rBVBEcDHdajvUcKi7GPoiKKWH6LwgbFXdycwn83kDschpuI</consumerSecret> <accessToken>1157999490789306369-a0s1fSNulWipzRZfPltihkM8i7J</accessToken> <accessTokenSecret>TDMoWHVxlCxQPgKosxDDaKVNGARjrfOscc7oMQyOLc</accessTokenSecret> </twitter.init> <twitter.updateStatus> <status>{$ctx:Tweet}</status> </twitter.updateStatus> <respond/> </inSequence> </target> <description/> </proxy>

Send Below Payload to the proxy.

{ "message": "Hellow WSO2 ESB #WSO2 Test" }

It gives response with 401Authorization Required

{ "errors": [ { "code": 32, "message": "Could not authenticate you." } ] }
Related Issues:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.