Viewing 15 replies - 1 through 15 (of 29 total)
  • Plugin Author Peter Booker

    (@peterbooker)

    Hi grombleton,

    From the plugins settings page in the WordPress Admin: Settings -> Kebo Twitter Feed. If you click on the link at the bottom “Debug Tweet Data” does it also show the message “Sorry, no Tweets were found.” or does it have what looks like a mess of text (which is JSON encoded data)?

    If it also contains nothing, there could be a problem with fetching the Tweets. Either due to your clients Twitter account being set to private or a bug at some point in the chain. If it does contain data then it might be that the widgets settings are configured to not show Tweets of the type made by the client (e.g. Re-Tweets or Conversations- anything which begins with a username).

    Thread Starter grombleton

    (@grombleton)

    Hi Pete

    All that is included in the debug area is the following:

    {“expiry”:1429733300}

    Does that shed any light?

    Hi,
    I have the same problem of grombleton.
    In debug mode I see this code:

    {“expiry”:1429792692}

    Thanks for your support ??

    Plugin Author Peter Booker

    (@peterbooker)

    Hi grombleton,

    It does, this is a bug which I need to resolve by rewriting how I store the data. Essentially if there is no data and the first attempt fails to fetch any, it only stores the expiry time. This causes a second problem because it changes the data type saved (from object to array).

    It is possible the real cause is actually not being able to fetch Tweet data and this is just hiding that, but we can test it. If you click ‘Save’ on the plugins settings page it should empty the Tweet data which will force it to be fetched again. Does this resolve the problem? If not it looks like there is a deeper issue.

    Thread Starter grombleton

    (@grombleton)

    Hi Peter

    I’ve given that a go, as well as deactivating/deleting/reinstalling the plugin but it still has the same issue ??

    Graham

    Plugin Author Peter Booker

    (@peterbooker)

    Hi Graham,

    That is disappointing, sorry you are having so much trouble with the plugin. Deleting/Re-Installing should have cleared the data and resolved it too.

    When you go to the plugins settings page, what does the status box in the top right show? and is there a list of connection errors listed at the bottom (it will only be visible if there have been HTTP API errors)?

    Thread Starter grombleton

    (@grombleton)

    Hi Peter

    No connection errors are listed, and the status box has the following:

    API Status
    23.239.13.127 Success

    Cheers!

    Plugin Author Peter Booker

    (@peterbooker)

    Hi Graham,

    In theory then there have been no HTTP Errors (problems connecting to the API). This would suggest that one of two things are happening:

    1) The API request is not returning any Tweets.

    2) The API request is somehow returning badly formed data.

    Would you be able to let me know which Twitter account it is? I would like to see what the Tweet(s) are like in case it gives an indication of what the problem may be.

    Thank you for spending time to help me debug the issue.

    Thread Starter grombleton

    (@grombleton)

    No worries Peter – if it gets the site worming for me and helps anyone else in the future then it’s all good!

    The Twitter account i’m connected to is https://twitter.com/DaisyWhite1922

    Cheers!

    Plugin Author Peter Booker

    (@peterbooker)

    Hi Graham,

    Thanks for that, I have had a look, the account is fine and there are plenty of each type of Tweet. I went through the latest 200-300 Tweets and could not see anything out of the ordinary which might be causing problems. I hadn’t tested Emoji before so added a range of Tweets with Emoji and that all worked fine.

    I will run a filter for that username on the API to make sure the calls are going through correctly and see what that turns up.

    Thread Starter grombleton

    (@grombleton)

    Cheers Peter, I’ll await your view as to what the problem is and any solution!

    Plugin Author Peter Booker

    (@peterbooker)

    Hi Graham,

    It picked up that successful API requests were being made for that username, which leaves me in a world of frustration.

    I have absolutely no idea what is going wrong, as there are measures designed to catch errors at each point after that. There is clearly a gap which is letting some errors go unnoticed, however I cannot yet pinpoint where this is.

    I will run some more tests over the weekend to see if I can reproduce situations which my current code does not catch. In the mean time I cannot promise to have this fixed quickly, so for your sake you may be better off finding an alternative which works for you right now.

    I really appreciate your help with debugging and I will continue work to identify the cause of this problem either way.

    Thread Starter grombleton

    (@grombleton)

    Cheers Peter, I’ll find an alternative solution for the time being as the client will want the site finished very soon. Did you want me to set up a testing site with the plugin installed so we can continue debugging?

    Hi Peter, it looks like I’m having the same issue as above here: https://www.epic-tv.com/ though the plugin worked fine locally. Any ideas? Twitter page is: https://twitter.com/EpicTVstudios

    I had the same problem after changing to another server. The log of the server shows me this error:
    PHP Warning: Invalid argument supplied for foreach() in .../wordpress/wp-content/plugins/kebo-twitter-feed/inc/get_tweets.php on line 257
    I fixed it by activating cgi-module in apache.

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘No Tweets To Display’ is closed to new replies.