wso2 / product-micro-integrator

The cloud-native configuration driven runtime that helps developers implement composite microservices.
https://wso2.com/integration/
Apache License 2.0
204 stars 221 forks source link

[Bug]: Tweet with # or @ is not getting published on Twitter Account #3527

Open anupama-pathirage opened 3 months ago

anupama-pathirage commented 3 months ago

Description

Moivng issue from https://github.com/wso2-extensions/esb-connector-twitter/issues/25

image

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"> RR81c5RusT9pub7R5l0ZhkQ rBVBEcDHdajvUcKi7GPoiKKWH6LwgbFXdycwn83kDschpuI 1157999490789306369-a0s1fSNulWipzRZfPltihkM8i7J TDMoWHVxlCxQPgKosxDDaKVNGARjrfOscc7oMQyOLc {$ctx:Tweet}

    `

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:

Steps to Reproduce

No response

Affected Version(s)

No response

OS, DB, other environment details and versions

No response

Related issue(s) (optional)

No response

Suggested label(s) (optional)

No response

Suggested assignee(s) (optional)

No response