{"id":32570652,"url":"https://github.com/ctcuff/alexa-tweety","last_synced_at":"2025-10-29T08:19:04.848Z","repository":{"id":54592606,"uuid":"143107204","full_name":"ctcuff/Alexa-Tweety","owner":"ctcuff","description":"A skill for Alexa to update your status, or read your direct messages on Twitter","archived":false,"fork":false,"pushed_at":"2021-02-08T20:25:15.000Z","size":23,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-05T22:38:18.951Z","etag":null,"topics":["alexa-skill","twitter"],"latest_commit_sha":null,"homepage":"","language":"Java","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/ctcuff.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":"2018-08-01T05:17:46.000Z","updated_at":"2021-02-10T01:37:48.000Z","dependencies_parsed_at":"2022-08-13T20:40:40.703Z","dependency_job_id":null,"html_url":"https://github.com/ctcuff/Alexa-Tweety","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/ctcuff/Alexa-Tweety","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctcuff%2FAlexa-Tweety","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctcuff%2FAlexa-Tweety/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctcuff%2FAlexa-Tweety/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctcuff%2FAlexa-Tweety/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ctcuff","download_url":"https://codeload.github.com/ctcuff/Alexa-Tweety/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ctcuff%2FAlexa-Tweety/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281585593,"owners_count":26526325,"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","status":"online","status_checked_at":"2025-10-29T02:00:06.901Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["alexa-skill","twitter"],"created_at":"2025-10-29T08:16:55.798Z","updated_at":"2025-10-29T08:19:04.837Z","avatar_url":"https://github.com/ctcuff.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Alexa-Tweety\nA Twitter skill for Alexa that allows users to update their status and read their direct messages.\n\nThis is a **WIP** skill for Alexa. Users can update their status or read the direct messages from Twitter. The code in the server folder is hosted as a Heroku app. When Alexa asks the user to link their account (via the Android/iOs companion app), clicking on the link directs to the Heroku-hosted site. Alexa asks the server for an access token and access token secret which is then used in the Java code, assuming authentication was successful. As of now, account linking isn't working (the server doesn't *actually* return the tokens, hey, it's a **WIP**, cut me some slack) so if you want to test this yourself, you'll want to do the following:\n\n0. Head over to [Twitter and create an app](https://apps.twitter.com/). Make sure to take note of the consumer keys\n1. Clone this repo and create the following `Keys.java` file:\n```java\npackage com.camtech.utils;\n\nfinal class Keys {\n    /**\n     * Keys for the application\n     * */\n    static final String CONSUMER_KEY = \"consumer key here\";\n    static final String CONSUMER_KEY_SECRET = \"consumer secret here\";\n\n    /**\n     * Keys for a specific account\n     * */\n    static class Debug {\n        static final String CONSUMER_KEY = \"consumer key here\";\n        static final String CONSUMER_KEY_SECRET = \"consumer secret here\";\n        static final String ACCESS_TOKEN = \"consumer secret here\";\n        static final String ACCESS_TOKEN_SECRET = \"consumer secret here\";\n    }\n}\n```\n\nNote that in the above file, `Keys { ... }` contains the keys for the twitter application, `Keys.Debug { ... }` contains keys pertaining a specific account for testing. You can just make one twitter app (see step 0) and use the same consumer and consumer secret keys.\n\n2. Visit [this link](https://howtodoinjava.com/aws/amazon-alexa-custom-skill-tutorial/) for a pretty good tutorial on how to upload the skill to AWS Lambda. You'll need to upload the jar file to AWS so just execute the command `assembly:assembly -DdescriptorId=jar-with-dependencies package` in the root dir of the project to get a jar file.\n\n3. After you've done all of the above, head to [the Amazon Dev Console](https://developer.amazon.com/alexa/console/ask/) to create/test the skill. See [here](https://developer.amazon.com/docs/devconsole/about-the-developer-console.html) for another pretty good tutorial.\n\n# Sample Conversation\n**User**: \"Alexa, open tweety.\"\n\n**Alexa**: \"Welcome to tweety...\"\n\n**User**: \"Update my status to *'hello world'*\".\n\n**Alexa**: \"Alright, I've updated your status to *'hello world.'*\"\n\n**User**: \"Read my last message.\"\n\n**Alexa**: \"Message from someDude24 was received at 5:24 AM, *'hey dude, what's up?'*\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctcuff%2Falexa-tweety","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fctcuff%2Falexa-tweety","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fctcuff%2Falexa-tweety/lists"}