<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ca">
	<id>http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Configurar_plugin_de_Twitter</id>
	<title>Configurar plugin de Twitter - Historial de revisió</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.joanillo.org/index.php?action=history&amp;feed=atom&amp;title=Configurar_plugin_de_Twitter"/>
	<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Configurar_plugin_de_Twitter&amp;action=history"/>
	<updated>2026-08-30T08:37:53Z</updated>
	<subtitle>Historial de revisió per a aquesta pàgina del wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://wiki.joanillo.org/index.php?title=Configurar_plugin_de_Twitter&amp;diff=254993&amp;oldid=prev</id>
		<title>Joan: /* Introducció */</title>
		<link rel="alternate" type="text/html" href="http://wiki.joanillo.org/index.php?title=Configurar_plugin_de_Twitter&amp;diff=254993&amp;oldid=prev"/>
		<updated>2016-10-10T15:58:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Introducció&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Pàgina nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=Introducció=&lt;br /&gt;
La idea és tenir un compte de Twitter específic per al domini joanillo.org. Per tenir dos comptes associats a un mateix correu electrònic, es fa de manera que s'afegeix ''+tweeter'' al correu, però gmail es pensa que és el mateix. Les dades del nou compte de Twitter són:&lt;br /&gt;
*username: joanillomaker&lt;br /&gt;
*mail: joanqc+twitter@gmail.com / jq****&lt;br /&gt;
&lt;br /&gt;
=Conclusió: desactivar/desinstal.lar el plugin=&lt;br /&gt;
El problema del blog és que tinc un plugin multi-idioma que segur que xoca amb el plugin. A més, la meva versió de Wordpress i de PHP ja han quedat antiquades.&lt;br /&gt;
&lt;br /&gt;
La instal.lació del plugin és bastant directa (s'ha de crear una aplicació). La idea és que després de publicar un post, s'ha de generar automàticament un tweet. A l'hora de fer-ho es penja i no es crea. Tanmateix, no puc controlar el que sortiria en el títol del tweet, perquè tinc instal.lat el plugin ''qTranslate''.&lt;br /&gt;
&lt;br /&gt;
El millor es deixar de banda aquest plugin de Tweeter, i fer el tweet manualment (amb l'ordinador, no pas amb el mòbil). D'aquesta manera puc controlar què poso en el títol, la url del post (que inclou l'idioma ''lang''), i les etiquetes que jo vull.&lt;br /&gt;
&lt;br /&gt;
Per tant, el millor és deixar de banda aquest plugin.&lt;br /&gt;
&lt;br /&gt;
=Conclusió=&lt;br /&gt;
&lt;br /&gt;
=Instal.lació plugin: Twitter Auto Publish=&lt;br /&gt;
&lt;br /&gt;
Instalando plugin: Twitter Auto Publish 1.3.1&lt;br /&gt;
&lt;br /&gt;
Descargando el archivo de instalación de http://downloads.wordpress.org/plugin/twitter-auto-publish.1.3.1.zip&lt;br /&gt;
*http://docs.xyzscripts.com/wordpress-plugins/twitter-auto-publish/twitter-auto-publish-installation-guide/&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    Extract twitter-auto-publish.zip to your /wp-content/plugins/ directory.&lt;br /&gt;
    In the admin panel under plugins activate Twitter Auto Publish.&lt;br /&gt;
    You can configure the settings from Twitter Auto Publish menu.&lt;br /&gt;
    It should now be completely set up and functional.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
A part del Twitter username i password, es necessita la API Key, API secret, Access Token, Access Token Secret.&lt;br /&gt;
&lt;br /&gt;
You have to create a Twitter application before filling the twitter settings fields. &lt;br /&gt;
Click here to create new application.&lt;br /&gt;
*https://apps.twitter.com/app/new&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Specify your website for the application. This is given in the settings page.&lt;br /&gt;
In the twitter application, navigate to Settings &amp;gt; Application Type &amp;gt; Access. Here select Read and Write option. &lt;br /&gt;
After updating access, navigate to Details &amp;gt; Your access token in the application and click Create my access token button.&lt;br /&gt;
&lt;br /&gt;
Using the link Creating Twitter Application , you can see how to create the twitter application.&lt;br /&gt;
&lt;br /&gt;
1. API Key - Here enter the API key from twitter application.&lt;br /&gt;
&lt;br /&gt;
2. API secret - Enter the API secret here.&lt;br /&gt;
&lt;br /&gt;
3. Twitter username - Enter your twitter username here.&lt;br /&gt;
&lt;br /&gt;
4. Access token - Here you can enter the twitter application access token.&lt;br /&gt;
&lt;br /&gt;
5. Access token secret - Enter the access token secret here.&lt;br /&gt;
&lt;br /&gt;
6. Message format for posting - This is the message format for posting in the twitter. You can add your message with post title, blog title etc. here. The codes are given below.&lt;br /&gt;
&lt;br /&gt;
    {BLOG_TITLE} – This is the title of the blog (wordpress site name)&lt;br /&gt;
    {POST_TITLE} – Title of your post&lt;br /&gt;
    {PERMALINK} – This is the URL of the post.&lt;br /&gt;
    {POST_EXCERPT} – This is the summary of your post.&lt;br /&gt;
    {POST_CONTENT} – This is the description of the post.&lt;br /&gt;
    {USER_NICENAME} – This is the nice name of the author. &lt;br /&gt;
&lt;br /&gt;
If you want to display the post title, the link to the post and the summary of the post, please use the codes  {POST_TITLE} - {PERMALINK}-{POST_EXCERPT} . You can select the code from the dropdown menu.&lt;br /&gt;
&lt;br /&gt;
7. Attach image to twitter post - If you want to attach images with the twitter post, use this option. A sample image is given below.&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
Creo una nova aplicació, i les dades són:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Consumer Key (API Key) hLy2qlcswNWLHwpfkbG9vQCjR&lt;br /&gt;
 App-only authentication https://api.twitter.com/oauth2/token&lt;br /&gt;
Request token URL https://api.twitter.com/oauth/request_token&lt;br /&gt;
Authorize URL https://api.twitter.com/oauth/authorize&lt;br /&gt;
Access token URL https://api.twitter.com/oauth/access_token &lt;br /&gt;
&lt;br /&gt;
 Consumer Key (API Key) hLy2qlcswNWLHwpfkbG9vQCjR &lt;br /&gt;
 Consumer Secret (API Secret) CIZPDviPqwZh3vTulgjDyloZS4OA6kIZ6bS9PIquKRgBHrOrdK&lt;br /&gt;
 Access Level Read and write (modify app permissions)&lt;br /&gt;
Owner joanillomaker&lt;br /&gt;
Owner ID 785495148193050624 &lt;br /&gt;
&lt;br /&gt;
Access Token 785495148193050624-R9YM02bA1GY3Xq52ljN2I85iUTHBPx8&lt;br /&gt;
Access Token Secret m8bDbnJMkyblqpZ0PEH2A7iFqHxVLO99pZi0qAJQg3Sfh&lt;br /&gt;
Access Level Read and write&lt;br /&gt;
Owner joanillomaker&lt;br /&gt;
Owner ID 785495148193050624&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Autor}}, octubre 2016&lt;/div&gt;</summary>
		<author><name>Joan</name></author>
		
	</entry>
</feed>