I am developing an APP where I would like a user to tap a button and send a tweet to his/her timeline. There are a few known methods of how to do this with Node.JS and Angular, but I am looking for a solution to achieve what I want without a Node Server Running.
Is there a way to embed the Twitter API into your IONIC/Angular APP. and I am not looking for the Ionic Plugin TwitterConnect as that does not have a POST Method.
EDIT
here is the twitter example, but how would I implement this in Angular?
curl -XPOST
--url 'https://api.twitter.com/1.1/statuses/update.json?status=hello'
--header 'authorization: OAuth
oauth_consumer_key="oauth_customer_key",
oauth_nonce="generated_oauth_nonce",
oauth_signature="generated_oauth_signature",
oauth_signature_method="HMAC-SHA1",
oauth_timestamp="generated_timestamp",
oauth_token="oauth_token",
oauth_version="1.0"'
here is the link https://developer.twitter.com/en/docs/tweets/post-and-engage/api-reference/post-statuses-update suggested by @Gonzalo Nicolás Can anyone assist me with documentation or some coded examples.
from Ionic4/Angular Post a tweet to Twitter
No comments:
Post a Comment