Horje
Outputs tweets from any Twitter users, hashtag or keyword through the Widget interface. Can be called via shortcode or PHP function call and supports … Wordpress Tutorial

Noted That:

  • To install correctly this thinktwit.zip .
  • Fisrt Download the thinktwit.zip to your computer
  • Extract/Open thinktwit.zip to Your Computer.
  • Then, Find readme.txt file inside thinktwit.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " thinktwit.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " thinktwit.zip "  Downloaded plugin from your computer, Where you downloaded thinktwit.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " ThinkTwit " folder is added on left sidemenu. Now, Click on " ThinkTwit " folder.

   Noted that: If you do not see " ThinkTwit " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  ThinkTwit Configurtions and Settings or How to work " ThinkTwit " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " ThinkTwit " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is ThinkTwit
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

Obtaining a Twitter authentication key

  1. Go to https://dev.twitter.com/apps/new

  2. Login using your standard Twitter credentials

  3. Complete the form:

  • Name: ThinkTwit – [site name]
  • Description: ThinkTwit plugin
  • Website: [url of your website]
  • Callback URL: [url of your website]
  1. Make a note of your “Consumer key” and “Consumer secret”

Installing plugin

  1. Unpack the zip file and upload the thinktwit folder to the /wp-content/plugins/ directory, or download through the Plugins menu
    in WordPress

  2. Activate the plugin through the Plugins menu in WordPress

  3. Ensure the images directory exists in the thinktwit folder with 777 permissions

  4. Navigate to Settings-> ThinkTwit from the WordPress Dashboard

  5. Enter the “Consumer key” and “Consumer secret” obtained earlier and save your settings

Updates are automatic. Click on Upgrade Automatically if prompted from the admin menu. If you ever have to manually
upgrade, simply replace the files with those from the new version.

Configuring widget

  1. Go to Appearance and then Widgets and drag ThinkTwit to your sidebar

  2. Fill in the options as required and then save

Configuring shortcode

ThinkTwit can be used in any page or post, or anywhere else configured to use shortcodes, using the following syntax:


[thinktwit widget_id=0 usernames="stephenpickett" hashtags="thinktwit" hashtag_filter=0 username_suffix=" said: " limit=5 max_days=7 update_frequency=-1 show_username="username" show_avatar=1 show_published=1 show_follow=1 links_new_window=1 no_cache=0 live_update_freq=0 use_curl=0 debug=0 time_this_happened="This happened " time_less_min="less than a minute ago" time_min="about a minute ago" time_more_mins=" minutes ago" time_1_hour="about an hour ago" time_2_hours="a couple of hours ago" time_precise_hours="about =x= hours ago" time_1_day="a day ago" time_2_days="almost 2 days ago" time_many_days=" days ago" time_no_recent="There have been no recent tweets" ]

Configuring Output Anywhere

ThinkTwit can be called within templates and other areas where you can use PHP using the following syntax:



 0, 'usernames' =>
 "stephenpickett", 'hashtags' =>
 "thinktwit", 'hashtag_filter' =>
 0, 'username_suffix' =>
 " said: ", 'limit' =>
 5, 'max_days' =>
 7, 'update_frequency' =>
 0, 'show_username' =>
 "name", 'show_avatar' =>
 1, 'show_published' =>
 1, 'show_follow' =>
 1, 'links_new_window' =>
 1, 'no_cache' =>
 0, 'live_update_freq' =>
 0, 'use_curl' =>
 0, 'debug' =>
 0, 'time_this_happened' =>
 "This happened ", 'time_less_min' =>
 "less than a minute ago", 'time_min' =>
 "about a minute ago", 'time_more_mins' =>
 " minutes ago", 'time_1_hour' =>
 "about an hour ago", 'time_2_hours' =>
 "a couple of hours ago", 'time_precise_hours' =>
 "about =x= hours ago", 'time_1_day' =>
 "a day ago", 'time_2_days' =>
 "almost 2 days ago", 'time_many_days' =>
 " days ago", 'time_no_recent' =>
 "There have been no recent tweets"); echo ThinkTwit::output_anywhere($args); ?>

Shortcode/Output Anywhere Parameters

widget_id : integer – You should give this a unique id for caching or styling.

usernames : string – The list of Twitter usernames to output tweets for.

hashtags : string – The list of hashtags to output tweets for.

hashtag_filter : string – 1 indicates that usernames AND hashtags must both exist in a tweet, 0 indicates that either can exist.

username_suffix : string – The text that should appear after a username e.g. ” said: “.

limit : int – The maximum number of tweets to display.

max_days : int – The maximum age in days of the tweets to be displayed.

update_frequency : int – Minus 1 indicates live (uncached), minus 2 indicates paused, 0 indicates live (cached), and anything else
indicates the number of hours between getting updates from Twitter.

show_username : string – None indicates no username should be shown, name indicates the user’s full name should be shown and
username indicates the user’s username should be shown.

show_avatar : boolean – Indicates whether the Twitter user’s avatar should be displayed – 1 for true and 0 for false.

show_published : boolean – Indicates whether the time the tweet was made should be displayed e.g. “This happened a day ago” – 1 for true and 0 for false.

show_follow : boolean – Indicates whether or not to show a “Follow @username” link for each username.

links_new_window : boolean – Indicates whether links should be opened in a new window – 1 for true and 0 for false.

no_cache : boolean – Indicates whether or not to use no-caching – 1 for true and 0 for false.

live_update_freq : int – The frequency of live updates (zero for off).

use_curl : boolean – Indicates whether or not to use CURL – 1 for true and 0 for false.

debug : boolean – Indicates whether to turn on debugging mode – 1 for true and 0 for false.

time_this_happened : string – Time prefix (default: “This happened”).

time_less_min : string – Time less than 1 minute (default: “less than a minute ago”).

time_min : string – Time approximately 1 minute ago (default: “about a minute ago”).

time_more_mins : string – Time more than 1 minute ago (default: ” minutes ago”).

time_1_hour : string – Time approximately 1 hour ago (default: “about an hour ago”).

time_2_hours : string – Time approximately 2 hours ago (default: “a couple of hours ago”).

time_precise_hours : string – Time more than 2 hours ago (default: “about =x= hours ago”). NOTE: =x= should be used to insert the number of hours.

time_1_day : string – Time approximately 1 day ago (default: “a day ago”).

time_2_days : string – Time approximately 2 days ago (default: “almost 2 days ago”).

time_many_days : string – Time more than 2 days ago (default: ” days ago”).

time_no_recent : string – Output when there are no tweets to display (default: “There have been no recent tweets”).

NOTE: You can leave out any parameter to use the default, but be aware to change the unique id if you are using Output Anywhere in more than one place.


outputs , tweets , twitter , users , hashtag , keyword , through , widget , interface , called ,

Name

Read Article
https://develop.horje.com/learn/1434/reference