{"id":16244637,"url":"https://github.com/indexzero/twitter-no-backend","last_synced_at":"2025-03-19T18:33:23.057Z","repository":{"id":10786859,"uuid":"13055920","full_name":"indexzero/twitter-no-backend","owner":"indexzero","description":"A simple example of how to use Twitter without any backend.","archived":false,"fork":false,"pushed_at":"2013-10-01T18:43:49.000Z","size":159,"stargazers_count":10,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-10-18T21:03:42.630Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/indexzero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-24T05:59:33.000Z","updated_at":"2024-09-23T10:16:00.000Z","dependencies_parsed_at":"2022-09-01T22:31:03.753Z","dependency_job_id":null,"html_url":"https://github.com/indexzero/twitter-no-backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Ftwitter-no-backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Ftwitter-no-backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Ftwitter-no-backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/indexzero%2Ftwitter-no-backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/indexzero","download_url":"https://codeload.github.com/indexzero/twitter-no-backend/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":221451000,"owners_count":16823938,"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":[],"created_at":"2024-10-10T14:20:02.322Z","updated_at":"2024-10-27T20:32:53.227Z","avatar_url":"https://github.com/indexzero.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# twitter-no-backend\n\nA simple example of how to use Twitter without any backend.\n\n## Setting up your Twitter application.\n\n1. Go to http://dev.twitter.com\n2. Login to Twitter. **We recommend that you use a test account for the assignment**\n3. Create a new application by navigating to https://dev.twitter.com/apps/new once logged in.\n4. Click \"Create a new application\"\n5. Enter the following information in the form:\n  - Name: csw4170-[your uni]-a1 (where [your-uni] is your Columbia UNI)\n  - Description: My application for csw4170 Assignment 1\n  - Website: http://127.0.0.1\n  - Callback URL: http://127.0.0.1/oauth_callback\n6. Agree to the Terms, fill out the Captcha, and click \"Create new Twitter application\".\n7. Go back to https://dev.twitter.com/apps and click on the app you just created.\n8. Scroll to the bottom of the Application details page and click \"Create my Access Token\".\n9. Click on the \"OAuth Tool\" tab. This is where you will find:\n  - Consumer key\n  - Consumer secret\n  - Access token\n  - Access token secret\n\n## Setting up your Twitter application\n\nJust open `public/index.html` in your browser (This has only been tested in Google Chrome).\n\n```\n  $ cd /path/to/twitter-no-backend/public\n  $ open index.html\n```\n\n## Passing credentials to your Twitter app\n\nOnce your HTTP server is running you will need to pass your Twitter credentials to the client-side Javascript application. \n\nThe following query parameters are valid:\n\n* consumer_key\n* consumer_secret\n* access_token\n* access_token_secret\n\ne.g. \n```\nfile://twitter-no-backend/public/index.html?consumer_key=YOUR_KEY\u0026consumer_secret=YOUR_SECRET\u0026access_token=YOUR_TOKEN\u0026access_token_secret=YOUR_TOKEN_SECRET\n```\n\nNavigating to that in your browser will demonstrate a **PROOF-OF-CONCEPT basic demo** using [codebird-js](https://github.com/jublonet/codebird-js). The code is located in [/public/js/main.js](/public/js/main.js).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Ftwitter-no-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findexzero%2Ftwitter-no-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findexzero%2Ftwitter-no-backend/lists"}