Loading...
Cross shared collection | Cenit Admin

Basic info

Title
Twitter
Image
Thumb twitter
Name
twitter
Tags
Summary
Twitter API Integration
Readme

Twitter Integration


1. To send a message to Twitter you need to pull Twitter collection.  Go to Collections/ SharedCollections, search twitter and select Pull option.

2. Check the status of your Twitter API OAuth1 authorization and authorize it if it is not.  For do this go to Security/Authorizations/OAuth 1.0.

Sending a message to Twitter

3.  Now you can create and send a message to Twitter using CenitIO API. Twitter messages are available at: https://cenit.io/api/v1/twitter/tweet

To post a message to these URL just format a JSON document like this:

{

   "text": "Sent through CenitIO API"  
}

You can try with the following culr command .

curl -H "Content-Type: application/json" \
     -H "X-User-Access-Key: XXXXXXX" \
     -H "X-User-Access-Token: XXXXXXXXXXXXXXXX" \
     -X POST -d '{ "text": "Sending a message through Cenit"}' https://cenit.io/api/v1/twitter/tweet

Restful API


You have a complete set of actions over your data in Cenit.

Retrieve a list of messages

curl -H "Content-Type: application/json" \
     -H "X-User-Access-Key: XXXXXXX" \
     -H "X-User-Access-Token: XXXXXXXXXXXXXXXX" \
     

Show a message by id


curl -H "Content-Type: application/json" \
       -H "X-User-Access-Key: XXXXXXX" \
       -H "X-User-Access-Token: XXXXXXXXXXXXXXXX" \
        
Categories
IdTitleDescriptionUpdated at
socialSocialSocial mediaDecember 01, 2016 17:06
1 Categories
Authors
Name
Cenit Team
1 Cross collection authors
Pull count
105
Id
5890e48925d9852481001074
Created at
January 31, 2017 19:24
Updated at
November 30, 2017 20:05

Compute

Translators
NamespaceNameTypeUpdated at
TwitterExport TweetExportJanuary 31, 2017 19:22
TwitterMake Tweet IDExportJanuary 31, 2017 19:22
TwitterImport TweetImportJanuary 31, 2017 19:22
TwitterExport Direct MessageExportJanuary 31, 2017 19:22
TwitterImport Direct MessageImportJanuary 31, 2017 19:22
Twitterparser tweetImportSeptember 15, 2017 16:22
6 Transformations
Snippets
NamespaceNameTypeDescriptionUpdated at
TwitterExport_Tweet.rbRuby - October 01, 2018 21:57
TwitterMake_Tweet_ID.rbRuby - October 01, 2018 21:57
TwitterImport_Tweet.rbRuby - October 01, 2018 21:57
TwitterExport_Direct_Message.rbRuby - October 01, 2018 21:57
TwitterImport_Direct_Message.rbRuby - October 01, 2018 21:57
Twittertweet.jsonJavaScript - October 01, 2018 21:57
Twitterdirect_message.jsonJavaScript - October 01, 2018 21:57
Twitterfollower.jsonJavaScript - October 01, 2018 21:57
Twitterfriendship.jsonJavaScript - October 01, 2018 21:57
Twitterlist_subscriber.jsonJavaScript - October 01, 2018 21:57
Twitterblock.jsonJavaScript - October 01, 2018 21:57
Twitterfavorite.jsonJavaScript - October 01, 2018 21:57
Twitterlist_member.jsonJavaScript - October 01, 2018 21:57
Twitterlist.jsonJavaScript - October 01, 2018 21:57
Twitterparser_tweet.rbRuby - October 01, 2018 21:57
Twittertweet(1).jsonJavaScript - October 01, 2018 21:57
16 Snippets

Workflows

Flows
NamespaceNameActiveEventTranslatorUpdated at
TwitterTweet SendTwitter | Export Tweet [Shared]January 31, 2017 19:22
TwitterStatus RetweetTwitter | Make Tweet ID [Shared]January 31, 2017 19:22
TwitterDirect Message SendTwitter | Export Direct Message [Shared]January 31, 2017 19:22
TwitterImport TweetsTwitter | parser tweet [Shared]September 28, 2017 14:24
4 Flows
Events
NamespaceNameTypeUpdated at
TwitterTweet on created_atObserver -
TwitterRetweetScheduler -
TwitterDirect Message on created_atObserver -
3 Events

Connectors

Connections
NamespaceNameUrlKeyTokenAuthorizationUpdated at
TwitterTwitter Connectionhttps://api.twitter.comSeptember 15, 2017 16:22
1 Connections
Webhooks
NamespaceNamePathMethodDescriptionAuthorizationUpdated at
TwitterStatus Update1.1/statuses/update.jsonpost - November 30, 2017 20:06
TwitterStatus Retweets1.1/statuses/retweets/{{id}}.jsonget - November 30, 2017 20:06
TwitterStatus Mentions Timeline1.1/statuses/mentions_timeline.jsonget - November 30, 2017 20:06
TwitterStatus User Timeline1.1/statuses/user_timeline.jsonget - November 30, 2017 20:06
TwitterStatus Home Timeline1.1/statuses/home_timeline.jsonget - November 30, 2017 20:06
TwitterDirect Messages New1.1/direct_messages/new.jsonpost - November 30, 2017 20:06
Twitterimport tweet.json1.1/search/tweets.jsonget - November 30, 2017 20:06
7 Webhooks
Connection Roles
NamespaceNameWebhooksConnectionsUpdated at
TwitterTwitter RolTwitter | Status Update [Shared], Twitter | Status Retweets [Shared], and Twitter | Status Mentions Timeline [Shared] and Twitter | Twitter Connection [Shared] -
1 Connection Roles

Data

Data Types
NamespaceNameSlugTypeStorage sizeUpdated at
Twittertweet.json - Json Data Type0 BytesSeptember 28, 2017 14:37
Twitterdirect_message.json - Json Data Type0 BytesSeptember 15, 2017 16:23
Twitterfollower.json - Json Data Type0 BytesSeptember 15, 2017 16:23
Twitterfriendship.json - Json Data Type0 BytesSeptember 15, 2017 16:23
Twitterlist_subscriber.json - Json Data Type0 BytesSeptember 15, 2017 16:23
Twitterblock.json - Json Data Type0 BytesSeptember 15, 2017 16:23
Twitterfavorite.json - Json Data Type0 BytesSeptember 15, 2017 16:23
Twitterlist_member.json - Json Data Type0 BytesSeptember 15, 2017 16:23
Twitterlist.json - Json Data Type0 BytesSeptember 15, 2017 16:23
9 Data Types

Security

Authorizations
NamespaceNameStatusTypeUpdated at
TwitterOAuth AuthorizationUnauthorizedOauth Authorization -
1 Authorizations
OAuth Clients
ProviderNameIdentifierSecretRequest token parametersRequest token headersTemplate parametersUpdated at
Cenit | Twitter [Shared]CenitSaaSMay 12, 2016 16:53
1 Remote OAuth Clients
OAuth Providers
NamespaceNameTypeAuthorization endpoint
CenitTwitterOauth Providerhttps://api.twitter.com/oauth/authorize
1 Providers

Config

Namespaces
NameSlugUpdated at
Twittertwitter -
Cenitcenit -
2 Namespaces

Metadata