WordPress.org

Ready to get started?Download WordPress

Forums

Super Simple Twitter Feed
[resolved] Nothing outputted from (6 posts)

  1. gregorymark
    Member
    Posted 1 year ago #

    Hiya,

    I'm not getting any output from the template embed code.

    <?php echo sstf_gettwitterfeed(); ?>

    cURL's enabled and I've set all of the required keys, but nothing's echoing from the code.

    I've done some var_dumps and curl_setopt_array on line 117 is giving me TRUE, but $json on the next line is giving me FALSE.

    Is the plugin still working after the old API shut down?

    http://wordpress.org/extend/plugins/super-simple-twitter-feed/

  2. Betterweather
    Member
    Plugin Author

    Posted 1 year ago #

    Hello gregorymark-

    We are currently using every method of the feed at our site, for this reason, I don't believe it has anything to do with the API. This plugin was built for API V1.1 so ensure that your Twitter application is up to date - perhaps create a new one? I know it may sound crazy, but also ensure that all of your keys are correct (they are ALL different values found on the OAuth tool tab at twitter).

  3. gregorymark
    Member
    Posted 1 year ago #

    You're right. I've tested it on another site with the same keys and settings and it works so it must be conflicting with another plugin on my site.

    I occasionally get a tweet come through but when I refresh the page it's gone again, but like I said I used the same settings on another site and that was working fine so I don't think I'm going over my limit. That doesn't flag anything up for you does it?

    I'll let you know if I figure it out!

  4. Betterweather
    Member
    Plugin Author

    Posted 1 year ago #

    After reviewing your message I looked at the cache implementation code, and found that it could use an improvement when directly calling the widget from a template. I've updated it to do a better check for a cached version of the tweet if you are calling it directly (PHP). Not saying it will fix your issue, but it might help.

  5. gregorymark
    Member
    Posted 1 year ago #

    Ah, that's great, I did notice that so I was using do_shortcode actually. I've installed it on another live site and it's working nicely so I suspect it might be some throttling on my IP or something.

    Thanks for the help!

  6. gregorymark
    Member
    Posted 1 year ago #

    I tested it on a local build too and it worked so I set it up on the live site and it's working a treat.

    If there's space for feature requests, integrated hashtag & twitter name linking would be great.

    Cheers guys!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic