{"id":36969604,"url":"https://github.com/gabel/twitter","last_synced_at":"2026-01-13T21:33:16.504Z","repository":{"id":62508575,"uuid":"121260006","full_name":"gabel/twitter","owner":"gabel","description":"Twitter strategy for Opauth","archived":false,"fork":true,"pushed_at":"2018-03-16T12:54:32.000Z","size":50,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-11T05:55:48.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"opauth/twitter","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gabel.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-02-12T14:56:58.000Z","updated_at":"2018-02-12T14:56:59.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/gabel/twitter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gabel/twitter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabel%2Ftwitter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabel%2Ftwitter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabel%2Ftwitter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabel%2Ftwitter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gabel","download_url":"https://codeload.github.com/gabel/twitter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gabel%2Ftwitter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28400889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-13T14:36:09.778Z","status":"ssl_error","status_checked_at":"2026-01-13T14:35:19.697Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-13T21:33:15.717Z","updated_at":"2026-01-13T21:33:16.495Z","avatar_url":"https://github.com/gabel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Opauth-Twitter\n=============\nTwitter strategy for [Opauth][1], based on Opauth-OAuth.\n\nGetting started\n----------------\n1. Install Opauth-Twitter:\n   ```bash\n   cd path_to_opauth/Strategy\n   git clone git@github.com:opauth/twitter.git Twitter\n   ```\n\n2. Create Twitter application at https://dev.twitter.com/apps\n   - Make sure to enter a Callback URL or callback will be disallowed.  \n      Callback URL can be a made up one as Opauth will explicitly provide the correct one as part of the OAuth process.   \n   - Register your domains at @Anywhere domains.  \n\t   Twitter only allows authentication from authorized domains.\n\t\n3. Configure Opauth-Twitter strategy with at least `Consumer key` and `Consumer secret`.\n\n4. Direct user to `http://path_to_opauth/twitter` to authenticate\n\n\nStrategy configuration\n----------------------\n\nRequired parameters:\n\n```php\n\u003c?php\n'Twitter' =\u003e array(\n\t'key' =\u003e 'YOUR CONSUMER KEY',\n\t'secret' =\u003e 'YOUR CONSUMER SECRET'\n)\n```\n\nSee Twitter.php for optional parameters.\n\nOpauth-Twitter does \"[Sign In with Twitter](https://dev.twitter.com/docs/auth/implementing-sign-twitter)\" by default.  \nIf you prefer to do a [3-legged OAuth](https://dev.twitter.com/docs/auth/3-legged-authorization), explicitly add `authenticate_url` parameter to strategy configuration and set it to `https://api.twitter.com/oauth/authorize`.\n\nDependencies\n------------\ntmhOAuth requires hash_hmac and cURL.  \nhash_hmac is available on PHP 5 \u003e= 5.1.2.\n\nReference\n---------\n - [Twitter Authentication \u0026 Authorization](https://dev.twitter.com/docs/auth)\n\nLicense\n---------\nOpauth-Twitter is MIT Licensed  \nCopyright © 2012 U-Zyn Chua (http://uzyn.com)\n\ntmhOAuth is [Apache 2 licensed](https://github.com/themattharris/tmhOAuth/blob/master/LICENSE).\n\n[1]: https://github.com/opauth/opauth\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabel%2Ftwitter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgabel%2Ftwitter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgabel%2Ftwitter/lists"}