-
Notifications
You must be signed in to change notification settings - Fork 218
Twitter API v1.0 / v1.1 support #264
Comments
To which new rules are you referring? I haven't read of anything. |
Found what you're referring to. Will read and respond. |
Right. https://dev.twitter.com/blog/changes-coming-to-twitter-api . "required authentication on every API endpoint". |
Also, I could see "Display Requirements" being a PITA. |
I've tweeted 'em to find out. We're likely to need to make changes, but I'd hope that whatever plumbing they use to support their own widgets could also be used by ours... sigh. |
No response. Given the general discussion around this topic, I wouldn't say things look good for the future of |
This is probably the best place to get answers: https://dev.twitter.com/discussions Picked up the following tidbit from a Twitter rep: "There are no client-side only solutions besides what we offer in our Twitter for Websites family of products at this time. If you want to use the API itself, you'll need to use server-side OAuth. If you want to engage with the platform client-side, you'll need to use the Tweet Button, Follow Button, Embeddable Timelines, Embeddable Tweets, the tweet, follow, favorite, and retweet web intents, and their accompanying javascript events. We're still working on this client-side family of products and there may be further enhancements to the API's auth model in the future that would make client-side development more palatable." Not sure if that is relevant in any way to jQuery Tweet? |
@Bootsz Yes, it suggest that jQuery Tweet will no longer be able to work in its current form. However, if Twitter is providing its own widgets which presumably have unauthenticated access to backend data, it's possible that Tweet can make itself look like the official widgets and continue to access that same data. |
Got it. In terms of Tweet "making itself look like the official widgets", any idea how that would be accomplished? I've played around with their new widget a bit and it doesn't seem like they allow hardly any customization from the front-end. |
@Bootsz I just meant from a network point of view -- while the appearance of Tweet wouldn't be identical, it could perhaps be made to make network requests in a manner indistinguishable from the official widget. However, it might still be in violation of the UX guidelines. |
So just for clarity's sake, right now at it's current state, |
@danielkorte Correct. But neither would Twitter's official widgets be a solution, for the same reason. At least currently. It's unclear what the situation will be with rate limiting after the unauthenticated 1.0 API is disabled. |
Howdy, Hopefully someone will find this useful. I'm converting all of our production sites which currently use jquery.tweet.js to use this henceforth. https://github.com/StanScates/Tweet.js-Mod Feel free to contact me with questions/comments. |
Stan, THANK YOU for this! Looking forward to trying it out. |
Let me know how it goes 😺 |
Hi Stan, that's neat! I'll have a think about how/whether to merge some of that back into this main repo. (Since you didn't start by forking this repo it's not easy to see what changes you've made to tweet.js, but I'm guessing it's limited to the You'd have to be careful that other people didn't point scripts etc at your endpoint -- it'd be very easy to exhaust your twitter credentials' request quota. -Steve |
Hey Steve, To your second point, although it is theoretically possible, I feel that the effort involved in order to circumvent Same Origin Policy restrictions makes that an unlikely scenario. With that said, I do highly recommend the caching feature, it's enabled by default and very simple. I very much appreciate your input. |
Hi @Mandooox, please file related issues on tweet.js-mod rather than here. |
hi @purcell , really sorry for that , okay i will delete this comment but about your plugin , are you will update it or what can we do for [ API 1.1 ] :( ? and other ask : thanks again for your great work in this plugin. |
@Mandooox As discussed earlier in this issue, it's not yet clear whether it will be possible to keep After the old API is disabled, Twitter will still continue to supply their own (unauthenticated) official tweet widgets, so in theory it would still be possible for -Steve |
okay , really i'm not happy with this new API :( , your plugin was perfect and easy to use , and i hope it will be still working..... thanks |
Not being a developer, I'm still unsure if seaofclouds twitter feed is going to work or not. Is there no way to test with the new API1.1? I predict a raft of people who have implemented into their site who have no idea about the v1.0 switch off (Tuesday 5th?), will suddenly inundate you with questions :( (like this one ;) |
@petenorris To be clear, However, Twitter has its own embeddable widgets, which do not require authentication keys, so it may be possible to reverse-engineer those and make It's extremely unfortunate that Twitter has declared war on API clients like this. |
Thanks. I really do appreciate your reply and the work to build this in the first place. My client is rather large and I couldn't use the native twitter widget as it's got a minimum height of 300px (and didn't fit the design!). |
I am also considering building a kind of "proxy" site, which would allow you to enter your Twitter auth details, and then it would sit between |
Please be advised that I will be out of the office until Monday August 12th.. In my absence please contact Oliver Pacheco at [email protected] Thank You Brian Bajohr |
Hi all, I've read through this thread to see if there's a solution to this Twitter API issue. The Tweet.js-mod (https://github.com/StanScates/Tweet.js-Mod) by Stan Scates seemed to be the way to go, unless I'm not mistaken. I've used Stan's code on my site and I've almost got it working. The tweets load, but never show up in the source code! I'm scratching my head on this one. Here's an isolated page with Tweet.js: http://hypedance.co/blah.php You'll see a bunch of tweets show up on your screen in Google Chrome. But if you inspect the page you won't find any of them in there. Just the "loading..." text. Load the same page in Firefox and you don't see any tweets. But if you refresh often enough, you'll see all the same tweets from Chrome for a nanosecond. I'm not getting any javascript errors. What in the heck is going on? |
@jimmykup Please file an issue with Stan's project, not this one. :-) |
Hi guys, I need help !!! I'm using the .net 2.0 version on my project and it works perfect on my local machine, but in production I'm getting "loading tweets". Same tweeter.config, same jquery call, same web.config. Can you help me? PS.: My web application is running on a godaddy domain. |
@andresmgf What is the url of your page? Scotty Sent from my Windows Phone From: andresmgfmailto:[email protected] Hi guys, I need help !!! I'm using the .net 2.0 version on my project and it works perfect on my local machine, but in production I'm getting "loading tweets". Same tweeter.config, same jquery call, same web.config. Can you help me? PS.: My web application is running on a godaddy domain. Reply to this email directly or view it on GitHub: |
Scotty, Thanks in advance for your response. I have tried with many options but nothing... <twitterOAuthConfiguration My site is in production right now but requires app login. If you want to see it, let me know your email and I will give you a user for that. Thanks again |
I am a newbie at this and I have tried to implement Stans The Tweet.js-mod (https://github.com/StanScates/Tweet.js-Mod) but I am having troubles. Can anyone help? http://originalcomputing.com/ocweb/patracompanyCMP/standalone/index.php |
I am one of those caught short by the API change (my app is used twice a year at conferences). I took the approach of using twitter4j in a servlet to return the tweet data but I would like to use tweet.js to format the data to the moble app. I could just do all the formatting myself but I was hoping I could hook up build_api_url to return the raw json from twitter4j and then use extract_template_data to get and format the json. But looking at the properties on the json returned, there doesn't seem to be a match in format. Has anyone used twitter4j on the backend? Any suggestions on how it might be accomplished? Perhaps twitter4j uses it's own formatted properties on the twitter data? |
Steve, is there any simple way to get the twitter ticker to animate horizontally from right to left? I am not a Jquery/java hero and ive dug throught the code, but i can't seem to figure it out. |
Sorry, I don't have a handy example of horizontal scrolling. It's probably a bit fiddly, as the
|
Thanks anyway. |
@Tsukimara I've played around and this is what I came with. hope this helps you somehow :) edit (add the css): |
@TineHorvat i tried your solution, its not working for me but i might be doing something wrong. the code i currently use is:
as seen on www.eriksherman.nl |
I got it to work to animate it horizontally thnx to @TineHorvat, but it didnt work perfectly, it looked like it kept adding extra padding on the right side of the avatar per tweet. Anyhow, i was wondering if it was possible to use this version: jQuery(function($){ But that it showed the tweets horizontal. and that instead of the Li tweet first tweet even etc be placed inside a div called i hope i still make any sense, javascript / jquery is such a pain to me. |
Hi, I'm using Johns amazing .net solution and it's all working fine until I try to move the handler file out of the root. I've updated the jquery to reflect the new path and it's still being called but the tweets just aren't being loaded! Because of some strange restrictions on the site I'm developing I'm unable to put things in the root folder. Does anyone have any suggestions of how I can get round this? |
Hi Glen, I have a fix but i don't have time to do a complete build and upload new version. If you email me at johnpscott at live dot co dot uk i will send you the dll and instructions. Which version of asp.net are you using? Cheers Scotty Sent from my Windows Phone From: glenfostermailto:[email protected] Hi, I'm using Johns amazing .net solution and it's all working fine until I try to move the handler file out of the root. I've updated the jquery to reflect the new path and it's still being called but the tweets just aren't being loaded! Because of some strange restrictions on the site I'm developing I'm unable to put things in the root folder. Does anyone have any suggestions of how I can get round this? Reply to this email directly or view it on GitHub: |
Hi Scotty, Can you please share the ASP.NET ashx based solution. Sorry, if I was unable to find in above comments. I want to give it a try. you can drop me at abdul dot qadar at gmail dot com. Cheers, |
The best solution for client-side Twitter API implementation is a simple proxy wrapper around the API. This will make your existing code or plugin work again with the new Twitter API. I've written one for .NET/C#: http://www.timacheson.com/Blog/2013/jul/twitter_api_proxy I've also written one for classic ASP which can easily be tw Blockquote http://www.timacheson.com/Blog/2013/jun/asptwitter Alternatively could just use an existing proxy service like YQL. |
Did Twitter changed something again? Was using the @johnpscott asp proxy and was working wonderful until yesterday. Today, I can't get any of my tweets to display, stuck at the Loading... Checked with firebug: http://prntscr.com/2a2x7h this is what I get back form response |
Is it an allowed domain problem? If you set www.dom.com and access dom.com it would fail. Best to set it as dom.com. Just a hunch. My sites are working fine. Cheers Scotty Sent from my Windows Phone From: Wilffmailto:[email protected] Did Twitter changed something again? Was using the @johnpscott asp proxy and was working wonderful until yesterday. Today, I can't get any of my tweets to display, stuck at the Loading... Checked with firebug: http://prntscr.com/2a2x7h this is what I get back form response Reply to this email directly or view it on GitHub: |
Hey Scotty, you mean in the twitterproxy.config or on twitter app? |
when trying to acces my site, mitmedia.nl i am now getting: Warning: Cannot modify header information - headers already sent by (output started at /home/mitmedia/domains/mitmedia.nl/public_html/wp-content/themes/MKB5/functions.php:116) in /home/mitmedia/domains/mitmedia.nl/public_html/wp-includes/pluggable.php on line 899 Was working perfectly before |
Any fix for this yet? I have still not managed to find out how to fix this. |
You can use this WordPress Plugin: http://www.designwall.com/wordpress/plugin/dw-twitter/ |
hey if it works in in WordPress why not iframe into site? |
I rather see this issue fixed. Wordpress plugins are the worst. |
Needs API key authentication...or maybe not. In light of the new API rules from Twitter, will tweet.js require an API key? The way I'm reading the new rules, it seems like Twitter is going to want to know who we all are, which connotes "API key".
~Jeff
The text was updated successfully, but these errors were encountered: