plugin:twitter
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:twitter [2015-11-17 17:16] – [Discussion] answer mprins | plugin:twitter [2023-02-17 15:30] (current) – [Twitter Plugin] mprins | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
---- plugin ---- | ---- plugin ---- | ||
description: | description: | ||
author | author | ||
- | email : mprins@users.sf.net | + | email : REMOVE.mprins@users.sf.net |
type : syntax | type : syntax | ||
- | lastupdate : 2014-05-30 | + | lastupdate : 2020-11-22 |
- | compatible : Angua, "Adora Belle" Weatherwax " | + | compatible : Angua, "Adora Belle" Weatherwax " |
depends | depends | ||
conflicts | conflicts | ||
similar | similar | ||
- | tags : embed, listing, users, search, social, twitter | + | tags : embed, listing, users, search, social, twitter, !up_for_adoption, |
screenshot_img: | screenshot_img: | ||
- | downloadurl: | + | downloadurl: |
+ | bugtracker | ||
sourcerepo : https:// | sourcerepo : https:// | ||
- | bugtracker | + | donationurl: https:// |
---- | ---- | ||
+ | |||
+ | ====== Discontinued ====== | ||
+ | :!: Since I stopped using this plugin some years back this plugin is up for adoption. Ping me if you're interested in maintaining so I can transfer ownership. | ||
===== Description ===== | ===== Description ===== | ||
Line 24: | Line 28: | ||
===== Installation ===== | ===== Installation ===== | ||
- | + | Search and install | |
- | :!: As of 2013-03-08 this requires OAuth credentials | + | |
- | + | ||
- | Install | + | |
After installation you need to [[https:// | After installation you need to [[https:// | ||
Line 33: | Line 34: | ||
===== Purpose ===== | ===== Purpose ===== | ||
- | IF you want to show some tweets from twitter on a DokuWiki page, use this Plugin. The syntax is easy: | + | If you want to show some tweets from twitter on a DokuWiki page, use this Plugin. The syntax is easy: |
< | < | ||
[TWITTER: | [TWITTER: | ||
Line 43: | Line 44: | ||
* **COUNT**: The number of tweets to show, when in user mode. | * **COUNT**: The number of tweets to show, when in user mode. | ||
- | And here comes some valid examples: | + | And here are some valid examples: |
< | < | ||
Line 56: | Line 57: | ||
</ | </ | ||
- | ===== Information===== | ||
- | |||
- | I created that plugin in around 30 minutes, so it's only a first demo and I personally don't like the look. | ||
- | But at least it's working. I will do some improvements, | ||
- | |||
- | ===== Discussion ===== | ||
- | **I would like to send dokuwiki changes (the changelog) to twitter automatically. | ||
- | // | ||
- | > That is not possible with this plugin. You would need another plugin to do automatic tweeting of the changelog. The plugin needs to be a action plugin and not a syntax plugin. Currently i'm not havin any plans to realize that, althought it would be really easy because Twitter has a really good API. // | ||
- | >>// | ||
- | |||
- | **Can you (or anybody!) please write a plugin to send dokuwiki updates to twitter? | ||
- | // | ||
- | |||
- | > I wouldn' | ||
- | |||
- | >> [[plugin: | ||
- | |||
- | |||
- | Nice plugin! But is it possible to make the syntax more *DokuWiki-like*? | ||
- | // | ||
- | |||
- | >Ok, just updated the code. Now you can also use: | ||
- | < | ||
- | //Timeline of user | ||
- | {{twitter> | ||
- | //Search for Keyword ' | ||
- | {{twitter> | ||
- | </ | ||
- | |||
- | Hope that helps. | ||
- | |||
- | ---- | ||
- | |||
- | I build some regex into the Plugin to make links, twitterer and hashtags clickable. | ||
- | // | ||
- | |||
- | > Thank you, seems to work very fine! | ||
- | // | ||
- | |||
- | |||
- | Updated the code a little bit, mainly the time of the tweet is now displayed Twitter-like, | ||
- | Also there was a problem with the regex (only first hastag was clickable). Now all hastags are clickable. | ||
- | // | ||
- | |||
- | >Getting a " | ||
- | |||
- | >> " | ||
- | >> | ||
- | |||
- | >>> | ||
- | |||
- | >> In you PHP.ini the option allow_url_fopen is Off. You have to turn it On, so that the Plugin can fetch the data from Twitter. | ||
- | >> If Option is Off [[phpfn> | ||
- | |||
- | >>> | ||
- | >>> | ||
- | >>> | ||
- | >>> | ||
- | >>> | ||
- | |||
- | I updated the mod, now you can use allow_url_fopen with ON or OFF (I need for local Installation ON and for the Server OFF) | ||
- | --- // | ||
- | |||
- | Fantastic plugin, thanks - is there a way to do negative keywords on the search? (UPDATE 7/22 - WORKED! | ||
- | > Just updated the plugin. Now you can combine searchwords, | ||
- | < | ||
- | //Search for PHP but NOT Zend | ||
- | {{twitter> | ||
- | //Search for PHP AND Zend | ||
- | {{twitter> | ||
- | </ | ||
- | In theory other search parameters from the Twitter-Api should also work, but I didn't test it. | ||
- | |||
- | This requires PHP 5.2 or later, or alternatively you'll have to add a json_decode function, e.g. from http:// | ||
- | |||
- | >>> | ||
- | >>> | ||
- | >> It seems your server is returning the wrong time to the plugin. 01.01.1970 is the start of the UNIX time, and that is what your server is returning (40years and 1 month ago). | ||
- | >> Maybe you have to set the correct time on your server first. --- C.Lang | ||
- | >No, the server' | ||
- | >> | ||
- | >> | ||
- | >>You can also contact me via Email, my mail address is on top of the page (I'm German, too). | ||
- | |||
- | > Updated the plugin with cache " | ||
- | // | ||
- | Hi i can't make work your plugin, i have this error message : " | ||
- | 215: Bad Authentication data." do you have an idea where this come from ? --- [[user> | ||
- | > probably the credentials that you entered are wrong; see the installaion above, optionally create new keys for this application | ||
plugin/twitter.1447776988.txt.gz · Last modified: 2015-11-17 17:16 by mprins