{"id":9971,"date":"2013-10-24T00:02:09","date_gmt":"2013-10-23T22:02:09","guid":{"rendered":"http:\/\/flaven.fr\/?p=9971"},"modified":"2026-09-16T10:11:24","modified_gmt":"2026-09-16T08:11:24","slug":"twitter-widget-api-oauth-creer-un-widget-list-puis-recolter-en-json-lactivite-de-plusieurs-comptes-twitter-a-laide-de-lapi-twitter-et-de-lauthentification-oauth","status":"publish","type":"post","link":"https:\/\/flaven.fr\/2013\/10\/twitter-widget-api-oauth-creer-un-widget-list-puis-recolter-en-json-lactivite-de-plusieurs-comptes-twitter-a-laide-de-lapi-twitter-et-de-lauthentification-oauth\/","title":{"rendered":"Twitter, widget, API, OAuth &#8211; Cr\u00e9er un widget List puis r\u00e9colter en JSON, l&#8217;activit\u00e9 de plusieurs comptes Twitter \u00e0 l&#8217;aide de l&#8217;API Twitter et de l&#8217;authentification OAuth"},"content":{"rendered":"<p><!--  Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth --><br \/>\n\t<!--  Twitter, widget, API, OAuth, Monitor, social, php, d\u00e9veloppement, JSON, SMO, UX, usage --><\/p>\n<p>Comme souvent, un client peut vous demander des comportements assez sophistiqu\u00e9s concernant le monitoring de sa pr\u00e9sence sur un r\u00e9seau tel que <code>Twitter<\/code>. Par exemple, vous pourriez \u00eatre amen\u00e9(e) \u00e0 devoir trouver une solution facile pour rapatrier <b>exclusivement<\/b> des tweets issus d&#8217;une liste de comptes twitter sp\u00e9cifiques. Bien s\u00fbr, il existe pour r\u00e9pondre \u00e0 ce besoin fonctionnel des widgets \u00e0 votre disposition depuis votre compte Twitter. Dans notre exemple, un widget <code>List<\/code> conviendrait assez au besoin fonctionnel. Toutefois, les \u00e9volutions fonctionnelles ou les possibilit\u00e9s de personnalisation dans la mise en forme de cette liste restent limit\u00e9es. Evidemment ces deux \u00e9cueils peuvent vous poser \u00e0 terme un probl\u00e8me au risque de ne pas satisfaire le besoin fonctionnel du client ou le rendu qui vous est impos\u00e9 par le graphisme.<\/p>\n<p><b>C&#8217;est donc \u00e0 ces limites que l&#8217;on va s&#8217;attaquer dans le pr\u00e9sent article tout en conservant le recours au widget twitter car on peut pas trouver de meilleur UX en mati\u00e8re d&#8217;\u00e9dition et de gestion&#8230;<\/b><\/p>\n<p>Pour illustrer notre propos, on va donc cr\u00e9er un widget list sur un compte twitter puis r\u00e9cup\u00e9rer \u00e0 l&#8217;aide d&#8217;un flux JSON et de l&#8217;authentification OAuth les donn\u00e9es issues de ce widget mais d\u00e9polluer de tous les \u00e9l\u00e9ments dont on ne veut pas comme la mise en forme&#8230;etc. pour pouvoir ult\u00e9rieurement faire \u00e9voluer ce produit \u00e0 notre guise tant d&#8217;un point de vue fonctionnel que graphique.<\/p>\n\t\t\t\t\t<div class=\"textwidget-unique text\">\n\n\t\t\t\t\t        <div class=\"textwidget-photo\">\n\t\t\t\t\t                <a href=\"https:\/\/flaven.fr\/books\/twitter-api-up-and-running\/\" class=\"photo\" title=\"Twitter API: Up and Running\"><img loading=\"lazy\" decoding=\"async\" alt=\"Twitter API: Up and Running\" src=\"http:\/\/ecx.images-amazon.com\/images\/I\/41xfQKqOOAL._SL160_.jpg\" width=\"122\" height=\"160\"><\/a>\n\t\t\t\t\t            <\/div>\n\t\t\t\t\t\t<div class=\"info half\">\n\t\t\t\t\t\t\t<h2 class=\"product-title\"><a class=\"head\" href=\"https:\/\/flaven.fr\/books\/twitter-api-up-and-running\/\" title=\"Twitter API: Up and Running\">Twitter API: Up and Running<\/a><\/h2>\n\t\t\t\t\t\t\t\n\t\t\t\t\t        <p class=\"product-excerpt\">Le livre \"API Twitter: Up and Running\" pr\u00e9sente les fondements de la culture Twitter et des cas concrets d'utilisation de programmation via l'API sur comment construire ses propres outils avec le code PHP \/ MySQL n\u00e9cessaire \u00e0 la cr\u00e9ation d'applications. description compl\u00e8te. Ce livre offre \u00e9galement une compr\u00e9hension de base de la fa\u00e7on dont les applications sont construites et h\u00e9berg\u00e9s sur le Web.<\/p>\n\t\t\t\t\t\t\t\tGenre(s) : <a href=\"https:\/\/flaven.fr\/book-type\/api\/\" rel=\"tag\">API<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/apis\/\" rel=\"tag\">APIs<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/cloud\/\" rel=\"tag\">Cloud<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/database-mysql\/\" rel=\"tag\">Database MySQL<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/developpement-open-source\/\" rel=\"tag\">D\u00e9veloppement<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/facebook\/\" rel=\"tag\">Facebook<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/mobile\/\" rel=\"tag\">Mobile<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/marketing-multicanal\/\" rel=\"tag\">Multicanal<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/open-source-agile-developpement\/\" rel=\"tag\">Open Source<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/php\/\" rel=\"tag\">PHP<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/reseaux-sociaux-partage-prescription\/\" rel=\"tag\">R\u00e9seaux Sociaux<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/roi-roiste\/\" rel=\"tag\">ROI<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/smo\/\" rel=\"tag\">SMO<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/social-tv\/\" rel=\"tag\">Social TV<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/tablette\/\" rel=\"tag\">Tablette<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/television-connectee-storytelling-digital\/\" rel=\"tag\">T\u00e9l\u00e9vision connect\u00e9e<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/twitter\/\" rel=\"tag\">Twitter<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/twitter-api\/\" rel=\"tag\">Twitter Api<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/ux-experience-utilisateur\/\" rel=\"tag\">UX<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/web-agile-ux\/\" rel=\"tag\">Web<\/a>, <a href=\"https:\/\/flaven.fr\/book-type\/web-apps\/\" rel=\"tag\">Web Apps<\/a><br>Auteur(s) : <a href=\"https:\/\/flaven.fr\/book-author\/kevin-makice\/\" rel=\"tag\">Kevin Makice<\/a><br>Edition(s) : <a href=\"https:\/\/flaven.fr\/book-description\/inc\/\" rel=\"tag\">Inc<\/a>, <a href=\"https:\/\/flaven.fr\/book-description\/oreilly-media\/\" rel=\"tag\">O'Reilly Media<\/a>, <a href=\"https:\/\/flaven.fr\/book-description\/usa\/\" rel=\"tag\">USA<\/a><br>\n\t\t\t\t\t<div class=\"but-wrap\"><a href=\"http:\/\/www.amazon.fr\/Twitter-API-Running-Kevin-Makice\/dp\/0596154615%3FSubscriptionId%3DAKIAJYB2QGGQOTHQLRPA%26tag%3Dhecubenet-21%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3D0596154615\" class=\"button\"><span><i class=\"more\"><\/i>+ d'infos<\/span><\/a><\/div>\n\t\t\t\t\t\t<\/div>\n\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\n<h4>Cr\u00e9er un widget list sur twitter<\/h4>\n<p>La proc\u00e9dure est tr\u00e8s simple, en voici les principales \u00e9tapes.On va s\u00e9lectionner deux comptes twitter puis on va les placer dans un widget.<br \/>\n      <b>Une liste de 2 comptes twitter (troiswdoc_hecube_list) :<\/b><\/p>\n<ul class=\"sf-list list-user\">\n<li>@3wdoc<\/li>\n<li>@HECUBE_NET<\/li>\n<\/ul>\n<h4>Cr\u00e9er un widget de list dans votre compte Twitter<\/h4>\n<p>      Il faudra bien conserver en t\u00eate le nom de votre widget. Dans notre exemple, notre widget se nomme <code>troiswdoc-hecube-list<\/code>. C&#8217;est cette<\/p>\n<p>      <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_create_1.jpg\" alt=\"Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth\" width=\"500\" height=\"313\" \/><\/p>\n<p>      <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_create_2.jpg\" alt=\"Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth\" width=\"500\" height=\"313\" \/><\/p>\n<p>      <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_create_3.jpg\" alt=\"Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth\" width=\"500\" height=\"313\" \/><\/p>\n<p>      <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_create_4.jpg\" alt=\"Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth\" width=\"500\" height=\"313\" \/><\/p>\n<p>      <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_create_5.jpg\" alt=\"Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth\" width=\"500\" height=\"313\" \/><\/p>\n<p>      <img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_create_6.jpg\" alt=\"Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth\" width=\"500\" height=\"313\" \/><\/p>\n<p>Les <code>OAuth settings<\/code> de votre application <code>app-parse-list-widget<\/code>. Ces param\u00e8tres r\u00e9sument toutes les informations dont vous aurez besoin pour vous connecter via <code>OAuth<\/code> \u00e0 votre application Twitter. <b>Bien \u00e9videmment, les cl\u00e9s donn\u00e9es ci-dessous ne sont pr\u00e9sent\u00e9es qu&#8217;\u00e0 titre d&#8217;exemple, notamment les permission d&#8217;acc\u00e8s.<\/b><\/p>\n<p><b>Les param\u00e8tres OAuth de votre application Twitter<\/b>    <\/p>\n<ul class=\"sf-list list-pen\">\n<li>Consumer key: * IhivoXX896laQqT22CL7kQ<\/li>\n<li>Consumer secret: * AxvM7x2fK5Ppkly4XSGzJfuQUe3uC0VcY9VJvqPcA<\/li>\n<li>Access token: * 32123456-PsLXOEvth8Ny0tSa2UsaZXe8o6D3DaG0s50pDecoL<\/li>\n<li>Access token secret: * Py7Sipi1Bs0bByakACjA3QF2AXo7fAtr7gx6qsP7R72<\/li>\n<\/ul>\n<p>Il faut rendre public le widget de sorte que vous puissiez obtenir la possibilit\u00e9 de faire des requ\u00eates. Pour se faire, il faut <b>Cliquer sur Public<\/b> lors de la cr\u00e9ation de votre application sur Twitter.<\/p>\n<p><b>Les param\u00e8tres \u00e0 compl\u00e9ter pour faire fonctionner l&#8217;Authentification <code>OAuth<\/code> pour votre application Twitter<\/b><\/p>\n<pre lang=\"php\">\r\n  define('_TWITTER_USER_', 'bflaven');          \r\n  define('_NB_TWEETS_', '1');     \r\n  define('_CONSUMER_KEY_', 'IhivoXX896laQqT22CL7kQ');\r\n  define('_CONSUMER_SECRET_', 'AxvM7x2fK5Ppkly4XSGzJfuQUe3uC0VcY9VJvqPcA');\r\n  define('_ACCESS_TOKEN_', '32123456-PsLXOEvth8Ny0tSa2UsaZXe8o6D3DaG0s50pDecoL');\r\n  define('_ACCESS_TOKEN_SECRET_', 'Py7Sipi1Bs0bByakACjA3QF2AXo7fAtr7gx6qsP7R72');\r\n  define('_OAUTH_CALLBACK_', 'https:\/\/flaven.fr');\r\n<\/pre>\n<h4>Cr\u00e9er une app du cot\u00e9 de chez Twitter <\/h4>\n<p>Une fois la proc\u00e9dure de cr\u00e9ation termin\u00e9e, il reste \u00e0 prendre le nom du widget.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_app_3.jpg\" alt=\"Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth\" width=\"500\" height=\"313\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_app_2.jpg\" alt=\"Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth\" width=\"500\" height=\"313\" \/><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_app_1.jpg\" alt=\"Twitter, widget, API, OAuth - Cr\u00e9er un widget List puis r\u00e9colter en JSON, l'activit\u00e9 de plusieurs comptes Twitter \u00e0 l'aide de l'API Twitter et de l'authentification OAuth\" width=\"500\" height=\"313\" \/><\/p>\n<p><b>Dans le code embed donn\u00e9 par Twitter, vous avez le nom de votre widget ex <code>troiswdoc-hecube-list<\/code><\/b><\/p>\n<pre lang=\"html\" escaped=\"true\">\r\n  &lt;a class=\"twitter-timeline\" href=\"https:\/\/twitter.com\/bflaven\/troiswdoc-hecube-list\" data-widget-id=\"392871243596062720\"&gt;Tweets from @bflaven\/troiswdoc-hecube-list&lt;\/a&gt;\r\n  &lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=\/^http:\/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+\":\/\/platform.twitter.com\/widgets.js\";fjs.parentNode.insertBefore(js,fjs);}}(document,\"script\",\"twitter-wjs\");&lt;\/script&gt;\r\n\r\n\r\n<\/pre>\n<p><b>Le fichier <code>grab_tweets_from_widget_list_with_twitteroauth.php<\/code>, comme le nom du fichier l&#8217;indique ce fichier permet de r\u00e9cup\u00e9rer les tweets d&#8217;un widget list cr\u00e9\u00e9 sous Twitter<\/b><\/p>\n<pre lang=\"php\" escaped=\"true\">\r\n  &lt;?php\r\n      session_start();\r\n\r\n      \/* Path to twitteroauth library *\/ \r\n      \/* Put the OAuth.php and twitteroauth.php in the correct directory for \/twitteroauth\/ *\/\r\n      require_once(\"twitteroauth\/twitteroauth.php\"); \r\n\r\n      \/**\r\n       * @file\r\n       * A single location to store configuration.\r\n       *\/\r\n       \/*\r\n       Replace by your own data\r\n       *\/\r\n       define('_TWITTER_USER_', 'bflaven');          \r\n       define('_NB_TWEETS_', '1');     \r\n       define('_CONSUMER_KEY_', 'IhivoXX896laQqT22CL7kQ');\r\n       define('_CONSUMER_SECRET_', 'AxvM7x2fK5Ppkly4XSGzJfuQUe3uC0VcY9VJvqPcA');\r\n       define('_ACCESS_TOKEN_', '32123456-PsLXOEvth8Ny0tSa2UsaZXe8o6D3DaG0s50pDecoL');\r\n       define('_ACCESS_TOKEN_SECRET_', 'Py7Sipi1Bs0bByakACjA3QF2AXo7fAtr7gx6qsP7R72');\r\n       define('_OAUTH_CALLBACK_', 'https:\/\/flaven.fr');\r\n\r\n      \/* Widget name *\/\r\n       \/*\r\n       Replace by your own widget\r\n       *\/\r\n\r\n      define('_TWITTER_WIDGET_SLUG_', 'troiswdoc-hecube-list');\r\n\r\n\r\n\r\n      \/* VALUES *\/\r\n      $twitteruser = ''._TWITTER_USER_.'';\r\n      $notweets = ''._NB_TWEETS_.'';\r\n      $consumerkey = ''._CONSUMER_KEY_.'';\r\n      $consumersecret = ''._CONSUMER_SECRET_.'';\r\n      $accesstoken = ''._ACCESS_TOKEN_.'';\r\n      $accesstokensecret = ''._ACCESS_TOKEN_SECRET_.'';\r\n\r\n\r\n      function getConnectionWithAccessToken($cons_key, $cons_secret, $oauth_token, $oauth_token_secret) {\r\n        $connection = new TwitterOAuth($cons_key, $cons_secret, $oauth_token, $oauth_token_secret);\r\n        return $connection;\r\n      }\r\n\r\n      $connection = getConnectionWithAccessToken($consumerkey, $consumersecret, $accesstoken, $accesstokensecret);\r\n\r\n      \/* Check out the widget *\/\r\n      \/* Be sure to use the correct slug eg troiswdoc-hecube-list *\/\r\n\r\n\r\n      $tweets = $connection-&gt;get('https:\/\/api.twitter.com\/1.1\/lists\/members.json?slug='._TWITTER_WIDGET_SLUG_.'&amp;owner_screen_name='._TWITTER_USER_.'');\r\n\r\n\r\n    \/* FOR DEBUG ONLY *\/\r\n    \/\/ print_r($tweets);\r\n\r\n    \/* DECODE JSON *\/\r\n    $json = json_encode($tweets);\r\n    $json = json_decode($json, true);\r\n\r\n\r\n          \/* Print out parsing the needed values sent back by the json of Twitter *\/\r\n          for ($i = 0; $i &lt;= count($json); $i++) {\r\n              $tweet = $json['users'][$i][\"status\"][\"text\"];\r\n              echo (''.$tweet.'');\r\n              echo ('&lt;br\/&gt;');\r\n\r\n          }\r\n\r\n  ?&gt;\r\n  \r\n<\/pre>\n<h2>En savoir plus<\/h2>\n<ul>\n<li>How to Add OAuth Authentication to Your Twitter App<br \/><a href=\"http:\/\/www.sitepoint.com\/twitter-1-1-oauth-php\/\" target=\"_blank\">http:\/\/www.sitepoint.com\/twitter-1-1-oauth-php\/<\/a><\/li>\n<li>The first PHP Library to support OAuth for Twitter&#8217;s REST API<br \/><a href=\"https:\/\/github.com\/abraham\/twitteroauth\" target=\"_blank\">https:\/\/github.com\/abraham\/twitteroauth<\/a><\/li>\n<li>La documentation sur l&#8217;API 1.1 de Twitter<br \/><a href=\"https:\/\/dev.twitter.com\/docs\/api\/1.1\/\" target=\"_blank\">https:\/\/dev.twitter.com\/docs\/api\/1.1\/<\/a><\/li>\n<li>25 Useful jQuery Plugins to Integrate Twitter into Websites with ease<br \/><a href=\"http:\/\/www.tripwiremagazine.com\/2010\/08\/25-useful-jquery-plugins-to-integrate-twitter-into-websites-with-ease.html\" target=\"_blank\">http:\/\/www.tripwiremagazine.com\/2010\/08\/25-useful-jquery-plugins-to-integrate-twitter-into-websites-with-ease.html<\/a><\/li>\n<li>Creating a Custom jQuery Twitter Feed <br \/><a href=\"http:\/\/www.webdevdoor.com\/javascript-ajax\/custom-twitter-feed-integration-jquery\/\" target=\"_blank\">http:\/\/www.webdevdoor.com\/javascript-ajax\/custom-twitter-feed-integration-jquery\/<\/a><\/li>\n<li>Setting up Twitter API, getting the last few Tweets<br \/><a href=\"http:\/\/stackoverflow.com\/questions\/17049821\/setting-up-twitter-api-getting-the-last-few-tweets\" target=\"_blank\">http:\/\/stackoverflow.com\/questions\/17049821\/setting-up-twitter-api-getting-the-last-few-tweets<\/a><\/li>\n<li>How to Create an Advanced Twitter Widget<br \/><a href=\"http:\/\/net.tutsplus.com\/tutorials\/php\/how-to-create-an-advanced-twitter-widget\/\" target=\"_blank\">http:\/\/net.tutsplus.com\/tutorials\/php\/how-to-create-an-advanced-twitter-widget\/<\/a><\/li>\n<li>25 Twitter Apps to Manage Multiple Accounts<br \/><a href=\"http:\/\/mashable.com\/2009\/05\/18\/twitter-apps-manage-multiple-accounts\/\" target=\"_blank\">http:\/\/mashable.com\/2009\/05\/18\/twitter-apps-manage-multiple-accounts\/<\/a><\/li>\n<li>want to show tweets from multiple username in my site.. how can we do that. Everytime user opens my home page i want to show them tweets from mulitple acocunts i have a list of those accounts<br \/><a href=\"https:\/\/dev.twitter.com\/discussions\/3300\" target=\"_blank\">https:\/\/dev.twitter.com\/discussions\/3300<\/a><\/li>\n<li>I&#8217;m having trouble with lists &#8211; Twitter<br \/><a href=\"https:\/\/support.twitter.com\/articles\/20169276\" target=\"_blank\">https:\/\/support.twitter.com\/articles\/20169276<\/a><\/li>\n<li>Votre page de gestion de Widgets sur Twitter<br \/><a href=\"https:\/\/twitter.com\/settings\/widgets\" target=\"_blank\">https:\/\/twitter.com\/settings\/widgets<\/a><\/li>\n<li>Embedded Timelines de Twitter<br \/><a href=\"https:\/\/dev.twitter.com\/docs\/embedded-timelines\" target=\"_blank\">https:\/\/dev.twitter.com\/docs\/embedded-timelines<\/a><\/li>\n<li>How to Create Your Own Twitter Widget in PHP, Part 1<br \/><a href=\"http:\/\/www.sitepoint.com\/create-your-own-twitter-widget-1\/\" target=\"_blank\">http:\/\/www.sitepoint.com\/create-your-own-twitter-widget-1\/<\/a><\/li>\n<li>Twitter Post Fetcher &#8211; compiled &#8211; CodePen<br \/><a href=\"http:\/\/codepen.io\/jasonmayes\/pen\/Ioype\" target=\"_blank\">http:\/\/codepen.io\/jasonmayes\/pen\/Ioype<\/a><\/li>\n<li>Create A Dead Simple Twitter Feed with jQuery<br \/><a href=\"http:\/\/www.queness.com\/post\/8567\/create-a-dead-simple-twitter-feed-with-jquery\" target=\"_blank\">http:\/\/www.queness.com\/post\/8567\/create-a-dead-simple-twitter-feed-with-jquery<\/a><\/li>\n<li>4 Ways to Retrieve a Twitter List Timeline<br \/><a href=\"http:\/\/blog.wyeworks.com\/2010\/2\/1\/4-ways-to-retrieve-a-twitter-list-timeline\/\" target=\"_blank\">http:\/\/blog.wyeworks.com\/2010\/2\/1\/4-ways-to-retrieve-a-twitter-list-timeline\/<\/a><\/li>\n<li>Display your Favorite Tweets using PHP and jQuery (Updated)<br \/><a href=\"http:\/\/tutorialzine.com\/2011\/08\/display-favorite-tweets-php-css\/\" target=\"_blank\">http:\/\/tutorialzine.com\/2011\/08\/display-favorite-tweets-php-css\/<\/a><\/li>\n<li>Streaming message types de Twitter<br \/><a href=\"https:\/\/dev.twitter.com\/docs\/streaming-apis\/messages\" target=\"_blank\">https:\/\/dev.twitter.com\/docs\/streaming-apis\/messages<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Comme souvent, un client peut vous demander des comportements assez sophistiqu\u00e9s concernant le monitoring de sa pr\u00e9sence sur un r\u00e9seau tel que Twitter. Par exemple,&hellip; <\/p>\n<p class=\"text-center\"><a href=\"https:\/\/flaven.fr\/2013\/10\/twitter-widget-api-oauth-creer-un-widget-list-puis-recolter-en-json-lactivite-de-plusieurs-comptes-twitter-a-laide-de-lapi-twitter-et-de-lauthentification-oauth\/\" class=\"more-link\">Continue reading &rarr; <span class=\"screen-reader-text\">Twitter, widget, API, OAuth &#8211; Cr\u00e9er un widget List puis r\u00e9colter en JSON, l&#8217;activit\u00e9 de plusieurs comptes Twitter \u00e0 l&#8217;aide de l&#8217;API Twitter et de l&#8217;authentification OAuth<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":9985,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"bf_ai_meta_description":"Cr\u00e9ez un widget List Twitter et r\u00e9cup\u00e9rez l\u2019activit\u00e9 de plusieurs comptes via l\u2019API Twitter et OAuth. Obtenez les donn\u00e9es en JSON pour un monitoring personnalis\u00e9.","bf_ai_og_title":"Cr\u00e9er un widget List Twitter","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[3439,3441,3454,3444,3445,3446,3448,3449,3451],"tags":[2183,138,192,1896,1895,20,60,255,61,3512,1788,2192,189],"class_list":["post-9971","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apis-integration","category-data-analytics","category-journalism-writing","category-programming-databases","category-seo-web-marketing","category-social-media-community","category-tools-productivity","category-tutorials-how-to","category-web-design-front-end","tag-api","tag-developpement","tag-json","tag-monitor","tag-oauth","tag-php","tag-smo","tag-social","tag-twitter","tag-twitter-x","tag-usage","tag-ux-experience-utilisateur","tag-widget"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3Vuhl-2AP","jetpack_featured_media_url":"https:\/\/flaven.fr\/wp-content\/uploads\/2013\/10\/monitor_mulitple_accounts_twitter_bf.jpg","_links":{"self":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/9971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/comments?post=9971"}],"version-history":[{"count":15,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/9971\/revisions"}],"predecessor-version":[{"id":9998,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/posts\/9971\/revisions\/9998"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media\/9985"}],"wp:attachment":[{"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/media?parent=9971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/categories?post=9971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/flaven.fr\/happy-api\/wp\/v2\/tags?post=9971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}