developing your personal twitter web application in 60 minustes
DESCRIPTION
TRANSCRIPT
Developing your personal Twitter web application in 60 minutesBy Mitesh Sanghvi (www.MiteshSanghvi.com)
WHAT DO WE GET BY DOING THIS?Let’s understand the application usage and benefits
Your Personal Twitter Client
Your Personal Branding
PREREQUISITESKnowledge Required / NOT Required
Prerequisites
Knowledge Required• Basic knowledge of OAuth (e.g. Login via Facebook
/ Twitter)• Basic knowledge of Web Uploading• Basic knowledge of various functions of Twitter
Knowledge NOT Required• No Knowledge of PHP or Java is required for the basic
setup. But basic knowledge will help you develop the web application better
PRE-DEVELOPMENT REQUIREMENTSThings to be ready with before developing the application
Pre-Development Requirements
• Domain and Web Space are required ( I have used Unlimited Web Hosting Linux-based package from BigRock )• Download and unzip the READY open source
code of Twitter Web Client ( I have used EMBR which is an extension of famous RABR client )• Download and Install a FTP application ( I use
open source application called FileZilla )
REGISTER YOUR APP WITH TWITTERRegister your application with Twitter to get Key & Secret
Step 01 – Visit Twitter Dev Site
Visit Twitter Developers Site and Click “Create an app” link
Step 02 – Register Your App
Fill the Registration Form, agree Terms and click ‘Create’
Step 03 – App Logo & Access
Next on Settings Page – Add App Logo and select ‘Read, Write and Access direct messages
Step 04 – Get App Key & Secret
Next on Details Page – Get the ‘Consumer Key’ and ‘Consumer Secret’
DEVELOPMENT STEPSTweak source code, add Twitter Key & Secret and Upload
Step 01 – Understand Code
Step 02 – Code Changes Req’d
Edit /lib/config.php fileYou need to change the config.php file present in the /lib subfolder of ‘embr’. You will have to add the ‘Consumer Key’, ‘Consumer Secret’ and ‘Callback URL’ of your application registered in Twitter (explained earlier)
Other Optional Changes• Replace big_logo.png and logo.png, favicon.ico files in /img
subfolder with your relevant logos/images• Edit header.php file in /inc to include Meta Tags for SEO• Edit footer.php file in /inc to include your credentials
Step 03 – Upload Your App
Use FileZilla to upload your application in the root directory of your hosting space allotted to you
Connect with mewww.MiteshSanghvi.com [email protected] Facebook.com/MiteshSpeaks
www.HOWdoIgetSMART.in/tipster