Quite a few people have downloaded the Facebook and Twitter mini-apps we posted last week. More than we expected, really. The code can easily be experimented with, but to make things easier here are details for setting up Facebook and Twitter applications to be compatible with the code. The app types are about as basic as they come, so the text below is the gist-of-it version; accompanied by step-by-step guides, including screenshots. (Click to enlarge.)
Hope it helps!

Twitter
To add a new Twitter app you need to head over to Twitter and find the ‘Register an Application’ page by clicking Settings > Connections >Developer’s settings link > Register a new application. Be sure to give your new app read and write permissions, and set the callback URL to the location where you’re hosting your tweet-for-track page.
Finding your Twitter ID is a little tricky. Click ‘Profile’ in the top navigation to go to your own Twitter profile. Look in the sidebar for the RSS link and check out the URL. That URL will end with a number followed by ‘.rss’ — the number is your Twitter ID.

Facebook
Adding a Facebook app is easy if you know where to start. Head over to http://www.facebook.com/developers/ and click the ‘Set Up New Application’ button to start. Give it a name and agree to TOS and you’ll see your API key and secret. Be sure to set connection settings to include your domain as the application’s base domain and you’re all set up.
To grab your page’s ID number just click on its profile picture and look in your browser’s address bar. The URL will end with id=xxx. That id= number is your page ID.
Congrats to jvd and the Cashmusic crew. It must be gratifying to feel that critical mass is finally being reached with regards to getting useful and productive tools out there. From an interested outsiders perspective I feel the energy coming from all this. The paradigm *is* changing and Cashmusic.org is in the game.
This cool seems really cool. I can’t wait to start using it! If someone were to like the link/download does that also make them a fan of our facebook fanpage?
Yeah the like button is actually for your page, not for the download. So what it does is present the like button (well…fanbox now), they become a fan of your page. Once that happens they can do the download, which is available to all fans of your page.
hi sorry, What do i do with my twitter ID?
I don’t see a place for it in config.php
Hi Brendan,
You actually don’t need it anymore. We reworked some code to get rid of the extra setup. You can read about the change here:
http://blog.cashmusic.org/2010/10/25/minor-probably-final-tweet-for-code-updates/
jvd
Is there a recommended method for WordPress integration? I have the twitter demo working, but am having a difficult time setting it up with WP.
Great project and code!
m
Not so much with this codebase. It can work side-by-side, but a full integration is tough. That said, the next generation of our stuff is designed to work hand-in-hand with WP and any other LAMP-based CMS — so it’ll be *very* easy soon. (We’ll publish early versions of the code in the next few weeks, with a release in January…)
a fan needs to like the music to hear the music? seems backwards?
Pingback: CASHmusic.org Provides Free Twitter, Facebook and User Interface App Codes for Musicians | Tight Mix Blog