{"id":27217473,"url":"https://github.com/aliaburas80/twitter_microservice","last_synced_at":"2025-07-16T11:33:52.179Z","repository":{"id":57382906,"uuid":"92387523","full_name":"aliaburas80/twitter_microservice","owner":"aliaburas80","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-30T08:39:10.000Z","size":80,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-23T23:45:44.164Z","etag":null,"topics":["create","messages","post","postgresql","posttweets","segmantation","tinylog","tinyurl","tweets","twitter","twitter-server"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aliaburas80.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-25T09:28:51.000Z","updated_at":"2022-03-13T20:57:50.000Z","dependencies_parsed_at":"2022-09-11T04:51:51.863Z","dependency_job_id":null,"html_url":"https://github.com/aliaburas80/twitter_microservice","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/aliaburas80/twitter_microservice","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliaburas80%2Ftwitter_microservice","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliaburas80%2Ftwitter_microservice/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliaburas80%2Ftwitter_microservice/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliaburas80%2Ftwitter_microservice/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aliaburas80","download_url":"https://codeload.github.com/aliaburas80/twitter_microservice/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aliaburas80%2Ftwitter_microservice/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265506173,"owners_count":23778675,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["create","messages","post","postgresql","posttweets","segmantation","tinylog","tinyurl","tweets","twitter","twitter-server"],"created_at":"2025-04-10T05:28:52.245Z","updated_at":"2025-07-16T11:33:52.115Z","avatar_url":"https://github.com/aliaburas80.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twitter_microservice\nThis microserivce will handel post segment of messages contaion links, hanshtags and messages to tweeter and keep message length equal or less than 140 characters.\nYou can add as many as you like hashtages and links and this service will manage segment messages and post them.\n\u003cp\u003e*You should have account on \u003ca href='https://dev.twitter.com/'\u003eTwitter Developer\u003c/a\u003e, to get your secret and tokens to start using this service \u003c/p\u003e\n\n\u003ch2\u003eCheck out the express interface for this \u003ca href='https://github.com/aliaburas80/express-twitter-interface/tree/master' target='_blank'\u003e microservice  \u003c/a\u003e\u003c/h2\u003e\n\u003ch2\u003e\u003ca href='https://www.npmjs.com/package/twitter-service' target='_blank'\u003ehttps://www.npmjs.com/package/twitter-service\u003c/a\u003e\u003c/h2\u003e\n\n\u003ch1\u003eHow to use.\u003c/h1\u003e\n  \u003ccode\u003enpm install twitter-service\u003c/code\u003e\u003cbr\u003e\n  \u003cP\u003e\n  \u003cP\u003e\n\u003ccode\u003elet tw = require('twitter-service');\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003etw({\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    \"twitter\":{\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    \"consumer_key\"       :\"ENTER YOUR CONSUMER KEY\",\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    \"consumer_secret\"    :\"ENTER YOUR CONSUMER SECRET\",\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    \"access_token\"       :\"ENTER YOUR ACCESS TOKEN\",\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    \"access_token_secret\":\"ENTER YOUR ACCESS TOKEN SECRET\"\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    },\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    \"links\" :['https://github.com/aliaburas80/twitter_microservice'],\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    \"hashtags\":\"#github#photooftheday#photooftheday#beautiful#fashion#instagood\",\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e    \"message\" :\"Hello!\"\u003c/code\u003e\u003cbr\u003e\n\u003ccode\u003e});\u003c/code\u003e\u003cbr\u003e\n\n\n\n\u003ch2\u003eCustomiziation\u003c/h2\u003e\n  \u003col\u003e\n  \u003cli\u003e\n  \u003ch3\u003eChange links\u003c/h3\u003e\n    \u003cp\u003eOpen index.js and change urls array.\u003c/p\u003e\n  \u003c/li\u003e\n  \u003cli\u003e\n  \u003ch3\u003eChange tweet message.\u003c/h3\u003e\n    \u003cp\u003eopen service/twitter/twitterManager.js, and change promise message  tweetsMessages(twit,links,hashtags,' Amazing! ')\u003c/p\u003e\n  \u003c/li\u003e\n  \u003cli\u003e \n  \u003ch3\u003eAdd remove hashtages\u003c/h3\u003e\n    \u003cp\u003eopen twitter_config/hashtages.js, do your magic.\u003c/p\u003e\n  \u003c/li\u003e\n  \u003c/ol\u003e\n\n  \n \u003ch2\u003eDependencies\u003c/h2\u003e\n \u003col\u003e\n   \u003cli\u003e\u003ca href='https://www.npmjs.com/package/nconf'\u003enconf\u003c/a\u003e\u003c/li\u003e\n   \u003cli\u003e\u003ca href='https://www.npmjs.com/package/post-tweet-chain'\u003epost-tweet-chain\u003c/a\u003e\u003c/li\u003e\n   \u003cli\u003e\u003ca href='https://www.npmjs.com/package/promise-while'\u003epromise-while\u003c/a\u003e\u003c/li\u003e\n   \u003cli\u003e\u003ca href='https://www.npmjs.com/package/turl'\u003eturl\u003c/a\u003e\u003c/li\u003e\n   \u003cli\u003e\u003ca href='https://www.npmjs.com/package/twit'\u003etwit\u003c/a\u003e\u003c/li\u003e\n \u003c/ol\u003e\n\u003ch3\u003e\u003ca href=\"mailto:aliaburas80@gmail.com\"\u003eAli Abu Ras\u003c/a\u003e\u003ch3\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliaburas80%2Ftwitter_microservice","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faliaburas80%2Ftwitter_microservice","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faliaburas80%2Ftwitter_microservice/lists"}