This fix is for VJs who make use of the Twitter Overlay quartz composition.
Since 11th June 2013, Twitter is made the v1 APIs obsolete and has caused probably all our twitter overlays to stop functioning.
The reason is that they want us to use v1.1 API calls, and that involves some form of authentication. This makes life very hard for us Quartz Composition users, as this authentication process in QC is a tough nut to crack.
There are probably a few ways around this problem, and I have found one that works for me for the time being and I thought I would share it with the community.
Note: The RSS feed codes were NOT written by me, the QC template that I am sharing was derived from the template that Vjbabylove shared previously.
Comments
1) Create an rss feed on a web hosting service, and perform the authentication there.
2) Extract the rss feed from the host using our Quartz Composition.
What You Need:
1) A web hosting service (for me, it’s my website)
2) Quartz Composer (download ‘graphics tools for xcode.dmg’ here:
https://developer.apple.com/downloads/index.action?name=for Xcode -) You will need to create an Apple Developer Account.
Instructions:
First, you will need to go to:
http://www.djfunkyt.com/#section4b
and download the pacakge that I have prepared by clicking on:
For Video Deejays: Quartz Composer Twitter v1.1 API Fix
There are 2 folders in the package:
1) twitter (contains files you need to edit and upload to your host)
2) qc (quartz composer file)
Step 1: Creating the RSS feed (how to use the ‘twitter’ folder in the package)
The instructions and code are adapted from the following website (I did minor alterations to the code call functions), so credit goes to the author of the page and the sources mentioned in there:
http://blog.fogcat.co.uk/2013/01/17/creating-an-rss-feed-for-your-twitter-home-page/
Here’s a modified extract from the website of what you should do:
1) Go to https://dev.twitter.com/apps
2) Log in with your Twitter name and password
3) Click on the create a new application button
4) Provide a name, description and a URL for the application (the URL is just where people can find out about your code). You can leave the Callback URL blank
5) Accept the terms and complete the captcha and you will be taken to the settings pages for your application.
6) Go to the settings tab
7) Select Read only as the application type and update the settings.
8) Go back to the details tab and click the “create my access token” button at the bottom.
You will now have a page with a number of codes, you will need to copy the values for:
Consumer key
Consumer secret
Access token
Access token secret
9) In the package that you have downloaded, there is a folder called ‘twitter’. Within that folder, there is a ‘keys’ folder, which contains a file called personal_keys.php. Open it and edit it using a text editor. Replace the dummy values with the ones you copied above.
Also replace the domain where you will be hosting the feed. (eg www.djfunkyt.com)
10) Upload the entire ‘twitter’ folder to your web site (eg I end up having www.djfunkyt.com/twitter)
11) Test the feed by entering the appropriate URL into Internet Explorer e.g.
http://www.djfunkyt.com/twitter.rss.php
Step 2 (Modifying the QC file)
Using the Quartz Composer EDITOR, open the quartz composition file in the qc folder.
There is only one item that you need to modify in the qtz file. Follow these steps:
1) Double click on the box called ‘Twitter Live Feed for ME’.
2) Click On the box called ‘WWW Address’.
3) Click on the button ‘Patch Inspector’
4) Enter your hosting service address where you uploaded your twitter folder eg. http://www.djfunkyt.com/twitter/rss.php
5) Close Quartz Composer and drag your updated qtz file into ME.
Your twitter feed should be good to go now.
NOTE: Twitter limits the number of requests per 15 min block, and I appear to exceed this limit. Hence, the feed tends to stop once in a while (when the limit is exceeded), until the next 15 min block.
I’m messing around with the refresh interval values now, so if anyone has any ideas, please let me know.
With regards to refresh interval, try a value of 70. I think it should run fine with that value, though I haven't had time to do extensive testing.
Image do save inside the qtz file.
Will check out your new layout, thanks!
1) Removed the [bracketed name] in the tweet (it's redundant cos we already display the name next to the tweeter's picture)
2) Added a way to filter swear words.
This new composition is updated in my package at:
http://www.djfunkyt.com/#section4b
It's an additional file in the twitter folder. The file name is:
DJ Funky T (Twitter 43) Template v02 (with language filter).qtz
Instructions on how to add your own swear word filters (you need Quartz Composer):
1) Open up the qtz file in Quartz Composer
2) Double click on the box titled 'Twitter Live Feed for ME'
3) Double click on the box titled 'Tweet'
4) Double click on the box titled 'Render in Image'
5) You will see a note there which I posted, where a 'String Replace' box is implemented. What this box does is to search for instances of the word 'fuck' in a tweet, and replace it with the word 'fish', when displaying it.
6) You can change the word that you want to search for, and the word that you wish to replace with, by:
a) Clicking ONCE on the 'String Replace' box,
b) Clicking on the 'Parameters' button
c) Replacing the 'Search String' and 'Replace String' in the parameters box.
If you want to add more words to replace,
8) Click on the 'Patch Library' button
9) Locate the 'String Replace' function.
10) Drag the 'String Replace' function into the project
11) Fill up the 'Search String' and 'Replace String' parameters for this new box.
12) Connect the input and outputs of this box as part of the program chain.
eg. String Replace --> String Replace (new) --> String Truncate
Let me know if you encounter any problems or if anything is not clear.
Can any one help me please. I have completed the bit within twitter and got my access tokens etc etc.
saved it within the personal_keys.php file, and uploaded the whole twitter folder to a free web hosting server (phildj.zxq.net)
I've put the url (http://phildj.zxq.net/twitter/rss.php) into the qc file
yet it doesn't seem to be doing anything.
at the point of throwing my mac across the room right now so any help would be appreciated please
Phil
Check to see that your keys are entered properly and re-upload. Also did you upload the entire folder? You may have to use a different browser. I had to DL Chrome when uploading to GoDaddy because it wouldn't allow me to upload an entire folder using Safari or Firefox. Just individual files.
The reeder app doesn't let this feed work either
Any one else got any ideas ???
Phil
It is possible that your web hosting server does not support PHP, so you might want to double check that.
Assuming that it does, this is the error that I get when I try to access your first link:
Fatal error: Call to undefined function curl_init() in /www/zxq.net/p/h/i/phildj/htdocs/twitter/php/tmhOAuth.php on line 635
Can you double check to ensure that you did not edit the tmhOAuth.php file in the 'php' folder?
Parse error: parse error, unexpected T_STRING, expecting ')' in /tier-11/pwpstore4/46/phildj/htdocs/twitter/rss.php on line 61
http://www.djfunkyt.com/#section4b
I've added a change log in the 'qc' folder which shows the changes that were done each version. Current version stands at v03.
Changes and instructions for v03 are in the following locations in the quartz composition:
Avatar Image Resolution fix:
Twitter Live Feed for ME -> Picture & Background
Author/Tweeter's name fix:
Twitter Live Feed for ME -> Author
Instructions on how to modify Text Scroll behaviour:
Twitter Live Feed for ME -> Tweet -> Render in Image
Post a link to your virginmedia webspace so we can test it.
this is my link
http://www.phildj.webspace.virginmedia.com//twitter/rss.php
thanks
phil
I had my dad pop the files up on a website he looks after just to test it
http://www.roada-bedford.org.uk/twitter/rss.php
This is accepted in reeder. but does not return any feed ?
any ideas.
What if i don't a website ?
How do i set the rss feed?
thanks
"Instagram has a publicly accessible RSS API, it's hard to find any information about it, but it works for tags (we do use it).
For tags the syntax is the following:
http://instagr.am/tags/some-tag-you-want-to-follow/feed/recent.rss
I'm not sure whether they have something similar for users' feeds, as I've said it's really hard to find information about it and it may disappear from a day to another in favor of the official API, but right now it works for tags.
Here's an official blog post about it (although it covers only tags): http://blog.instagram.com/post/8755963247/introducing-hashtags-on-instagram"
DL the font here. http://www.myfonts.com/fonts/synthview/novecento/wide-normal/
Mayhaps I should include a 'common mistakes' file in the package..
http://s283.photobucket.com/user/deejay720/media/ScreenShot2013-06-28at125431PM.png.html
http://www.mediafire.com/download/891lwlna2xc48bx/InstagramRSSfeed_ME.qtz
I followed all directions here,and when i try to check if the feed works(www.oblivion.com.br/twitter/rss.php) i got this message:
{"errors":[{"message":"Bad Authentication data","code":215}]}
verify_credentials connection failure
am i doing something wrong?
how do i fix this?
thanks
I've updated the Twitter package to v03a, with the inclusion of a blank index.html to all folders, to prevent unauthorized access to the twitter folders on your server from a web browser.
There are no changes to the QC template.
How can I change the QTZ to a WS format? When I go fullscreen in ME it chops off the bottom.
Thanks again.
The template is 4:3 aspect ratio - perhaps your screen is 16:9 and that's why it's cut off at the bottom?
meanwhile, Dokumentary - can u help djpuma with the 16:9 QC if you have it?
Thanks for trying.
Should be ready by early/mid next week.
you just need to mention yourself in your tweet
eg
@SanDiegoCOE yo this is the dj speaking
If you want your tweets to show up, but don't want to write your Twitter handle every time, you should subscribe to VJ Xplicit's website and use his Twitter feed. It's dope!
I've updated my package to include a 16:9 version.
Let me know if it works for you.
http://www.djfunkyt.com/#section4b
I am able to create motion graphics in Final Cut, and save them as transparent video files with an alpha channel. So i could create a lower third, i.e. for a twitter feed - but it would be a .MOV file with an alpha channel. How easy is it to simply open these in QC, and save them in a quartz format? Is that practical, or should the graphics/elements just be created in QC in the first place? I'm on OSX 10.6.8 so unable to try this myself in QC.
Also - using the feed, i get a blank one in the rotation. is it possible for the feed to make itself disappear in ME, instead of showing a blank one in the rotation?
thanks again
Thanks in advance...and amazing work DJ Funky T and affiliates...
The rss.php file in the twitter folder IS the rss feed.
im comfortable with quartz bit, just need a working feed. iv used another method using google script but can only get tweets from myself and not tweets by other people to me.
can anyone help?
here is the link
http://www.djjoey.com/twitter/rss.php i get this error message.
{"errors":[{"message":"Rate limit exceeded","code":88}]}
verify_credentials connection failure
any help appreciated.
Dokumentry or djfunky
could you please check my rss feed, i'm getting a error come up
RSS Feed.qtz (Download)
https://dl.dropboxusercontent.com/u/53832377/RSS Feed.qtz
IFTTT/Flickr RSS (Tutorial)
http://www.inklen.com/forum/discussion/1067/instagram-feed-like-twitter-feed-using-quartz/p1?post#Form_Body
https://ifttt.com/recipes/279484-specific-instagram-hashtags-added-to-flickr-photostream
"Twitter" IFTTT Recipe to use with RSS Feed.qtz
https://ifttt.com/recipes/279526-specific-twitter-hashtags-added-to-flickr-photostream
it doesn't quite line up the @ names in the right place
this is mine that i made a while ago
https://ifttt.com/recipes/279803-for-use-with-instgram-qtz
Yes, you're right ...you'll have to use the recipe's i created in order for the names to aline, but thats an easy fix in the composer when you would like to keep your recipe's
Use the links below to add to your IFTTT account or search vjblaze.
"Instagram" IFTTT Recipe to use with RSS Feed.qtz
https://ifttt.com/recipes/279484-specific-instagram-hashtags-added-to-flickr-photostream
"Twitter" IFTTT Recipe to use with RSS Feed.qtz
https://ifttt.com/recipes/279526-specific-twitter-hashtags-added-to-flickr-photostream
Does it look out for swear words?
Any way i will keep an eye on my flickr via my mobile phone/ipad when djing because i know some "ignorant" folks will wanna act ignorant.