{"id":21224196,"url":"https://github.com/admataz/wp-twitter-fire","last_synced_at":"2025-03-15T01:40:43.696Z","repository":{"id":142944778,"uuid":"339236603","full_name":"admataz/wp-twitter-fire","owner":"admataz","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-15T23:40:17.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-21T17:34:08.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/admataz.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-15T23:36:38.000Z","updated_at":"2021-02-15T23:40:19.000Z","dependencies_parsed_at":"2023-03-24T20:01:25.681Z","dependency_job_id":null,"html_url":"https://github.com/admataz/wp-twitter-fire","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/admataz%2Fwp-twitter-fire","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/admataz%2Fwp-twitter-fire/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/admataz%2Fwp-twitter-fire/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/admataz%2Fwp-twitter-fire/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/admataz","download_url":"https://codeload.github.com/admataz/wp-twitter-fire/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243672369,"owners_count":20328762,"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-11-20T22:57:19.988Z","updated_at":"2025-03-15T01:40:43.673Z","avatar_url":"https://github.com/admataz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wp-twitter-fire\n\nWordPress plugin to embed Twitter feeds on a page. This communicates with the Twitter API from the server to retrieve and cache the \nTweets locally for custom display in the WordPress site public interface. This provides better customisation capabilities to the\nstandard embeddable client-side timelines available from Twitter - but comes with less functionality (no retweets, etc)\n\nRequires a Twitter app and API keys set up in  https://developer.twitter.com/en/apps/\n\n## Installing\n1. Activate the plugin in the WP admin interface\n2. Set the configuration options at `/wp-admin/options-general.php?page=twitter-fire`\n\n\n## Using\nOnce set up, the plugin uses WordPress `cron` hooks to check for new tweets every 5 minutes,  downloads and saves the payload from the Twitter API \nto the database using WordPress `update_option`. \n\nThe Twitterfier plugin uses `apply_filters` to output a PHP `array` for consumption in templates, like in the following example: \n\n```php\n\u003c?php\n  $tweets = apply_filters('twitterfire_get_tweets', '', 5);\n  foreach($tweets as $tweet) {\n    $created_at = date(\"H:i, l j M\",strtotime($tweet-\u003ecreated_at));\n    echo \"\u003cli class='tweet' title='$created_at'\u003e\u003cdiv id='tweetArrow'\u003e\u003c/div\u003e\u003cp class='tweetText'\u003e\" . $tweet-\u003etext . \"\u003csmall\u003e$created_at\u003c/small\u003e\u003c/p\u003e\u003c/li\u003e\";\n  }\n?\u003e\n```\n\nFor more information on the available properties for the `tweet` object, refer to the Twitter API documentation for [Tweet Objects](https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/tweet-object) and [Statuses/ User Timelines](https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline.html)\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadmataz%2Fwp-twitter-fire","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadmataz%2Fwp-twitter-fire","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadmataz%2Fwp-twitter-fire/lists"}