We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Problems setting up Twitter App.
Perch: 3.0.14, PHP: 5.6.22, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO Server OS: Linux, cgi-fcgi Installed apps: content (3.0.14), assets (3.0.14), categories (3.0.14), perch_forms (1.10), perch_twitter (4.0) App runtimes: <?php $apps_list = ['perch_forms', 'perch_twitter' ]; PERCH_LOGINPATH: /admin PERCH_PATH: /var/sites/b/bravepr.co.uk/public_html/admin PERCH_CORE: /var/sites/b/bravepr.co.uk/public_html/admin/core PERCH_RESFILEPATH: /var/sites/b/bravepr.co.uk/public_html/admin/resources Image manipulation: GD PHP limits: Max upload 100M, Max POST 100M, Memory: 128M, Total max file upload: 100M F1: 3b606135b33e6a102526838f4152a807 Resource folder writeable: Yes DOCUMENT_ROOT: /var/sites/b/bravepr.co.uk/public_html HTTP_HOST: bravepr.co.uk REQUEST_URI: /admin/core/settings/diagnostics/ SCRIPT_NAME: /admin/core/settings/diagnostics/index.php
I have created a html template for a shared footer - in the footer I need to display 1 tweet. I have setup the Twitter App and can see the list of tweets in the control panel.
<section> <h3> <perch:content id="socialheading" type="text" label="Social heading" required="true" /> </h3> <?php perch_twitter_get_latest([ 'twitter_id' => '@hellobravepr', 'type' => 'mine', 'count' => 1, 'exclude_replies' => true, 'template' => 'tweet.html', ]); ?> </section>
When I refresh the web page, the space where the tweets should appear remains blank.
Any advice would be grateful.
Want to reply to this thread?Login with Perch