Twitter App - tweets with emojis at the beginning
I am having a small issue with the Twitter app, where when it comes across a tweet with emojis at the beginning it displays an empty result. I am calling it as standard like so:
perch_twitter_get_latest([ 'twitter_id'=>'@Casino36', 'type'=>'mine', 'count'=>1, 'exclude_replies'=>1 ]);
And using the default template. However when it comes across a tweet with emojis at the beginning it returns this:
<blockquote class="twitter-tweet"> <p dir="ltr" lang="en"> </p></blockquote>
The tweet column within Perch is also empty.
This is an example of one of the tweets that threw it off:
This may be a limitation with Twitter rather than the Perch implementation but thought I would mention it. My short diagnostics is below.
Perch Runway: 3.1.1, PHP: 5.6.31, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO Server OS: Darwin, apache2handler Installed apps: content (3.1.1), assets (3.1.1), categories (3.1.1), perch_blog (5.6.1), perch_forms (1.11), perch_twitter (4.0) App runtimes: <?php $apps_list = [ 'perch_forms', 'perch_twitter', 'perch_blog' ]; PERCH_LOGINPATH: /admin PERCH_PATH: /Users/mikeharrison/Google Drive/Client Work/Depict Creative/Casino 36 Website/Site/admin PERCH_CORE: /Users/mikeharrison/Google Drive/Client Work/Depict Creative/Casino 36 Website/Site/admin/core PERCH_RESFILEPATH: /Users/mikeharrison/Google Drive/Client Work/Depict Creative/Casino 36 Website/Site/admin/resources Image manipulation: GD PHP limits: Max upload 32M, Max POST 32M, Memory: 256M, Total max file upload: 32M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes HTTP_HOST: casino36.loc DOCUMENT_ROOT: /Users/mikeharrison/Google Drive/Client Work/Depict Creative/Casino 36 Website/Site REQUEST_URI: /admin/core/settings/diagnostics/ SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
Want to reply to this thread?Login with Perch