Just started using Twitter Timeline and have a few questions:
There’s an hour discrepancy between Twitter’s time of last update and the time showing on Twitter Timeline plugin. My last update according to twitter is 3:34 and on my Twitter Timeline is 4:34. I assuming it’s something to do with Daylight Saving’s time, but not sure how to fix?
Wondering if there is a way to post where the last tweet was sent from? E.g., Twitter, TwitterFox, etc.
Any way to link to the twitter user when you send an @reply instead of the @name being plain text?
Let’s see: 1. I can’t replicate- but make sure your localization is correct in both your twitter settings and in EE (for EE check in your profile- and be sure DST is also correct). If that doesn’t do it- try showing the {status_relative_date} variable- is it correct?
I’m not spotting it in the API here, so I don’t believe it’s available to grab.
I’m fuzzy on what you’re asking. (I’m not all that expert with twitter.) Can you walk me through it a bit?
To add to what Robin said,
The return values aren’t documented very well, but if you take a look at a sample timeline, you can see that it returns a <source> value that contains a entity encoded link for the application used to send the tweet. Not sure if the plugin parses this, but it should be pretty easy to add.
Once again, not natively, but it wouldn’t be too difficult to add (find whitespace+@+alphanumeric and link to twitter.com/username). You could probably base it off what I did here.
[Edit: Decided to implement 3 myself, see the thread linked above.]
Let’s see: 1. I can’t replicate- but make sure your localization is correct in both your twitter settings and in EE (for EE check in your profile- and be sure DST is also correct).
That seems to have done the trick Robin. Looks like I changed the DST setting in Admin >> System Preferences >> Localization Settings to “no” but my individual user account localization setting was still set to “yes” which I guess was throwing it off that hour.
So, if I’m in a DST zone, I have to manually set the DST settings in EE to be consistent if we’re currently observing DST or not? As I originally understood the setting, if I’m in a time zone that observes DST, I would simply select “yes” in the localization settings but I believe now that my original understanding was wrong? We’re not currently observing DST, and since my account was set to “yes” it was throwing things off an hour. So, I need to manually set it each year when DST takes effect?
[Edit: Decided to implement 3 myself, see the thread linked above.]
Thank you very much! I definitely wouldn’t have had the know how to implement that change myself. Tested it out, works great.
Ok, just double checked, the plugin already parses the source variable:From: {source}
Thanks again! The {source} variable wasn’t listed as an option in the twitter timeline docs, so the thought never entered my mind to check out a sample timeline and then just give it a try to see if it’s available. Works like a charm as well. Thanks
Heh- yep, I went from twitter docs as well and didn’t see it there, so assumed a ‘no go’.
As to DST- I think you’ve got it. Each individual member will set their own localization setting- including DST (as that may vary depending on where they are). Non-logged in folks will be based on whatever you have as the default (I tend to make my admin account the default).
Ah, I gotcha. I had it backwards. I assumed whatever I had set in the Admin > System preferences > localization settings area WAS the default for all users and then from there, I could adjust it on an individual user level if needed. I’ve set my account to be the default localization DST setting now.
With that said, is the Admin > System Preferences > Localization Settings DST setting really necessary? Seems if you’re setting it on a user by user basis anyway, the setting in this area really doesn’t do much?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.