developing your personal twitter web application in 60 minustes

18
Developing your personal Twitter web application in 60 minutes By Mitesh Sanghvi (www.MiteshSanghvi.com)

Upload: mitesh-sanghvi

Post on 25-Jan-2015

1.236 views

Category:

Technology


1 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Developing your personal Twitter web application in 60 minustes

Developing your personal Twitter web application in 60 minutesBy Mitesh Sanghvi (www.MiteshSanghvi.com)

Page 2: Developing your personal Twitter web application in 60 minustes

WHAT DO WE GET BY DOING THIS?Let’s understand the application usage and benefits

Page 3: Developing your personal Twitter web application in 60 minustes

Your Personal Twitter Client

Page 4: Developing your personal Twitter web application in 60 minustes

Your Personal Branding

Page 5: Developing your personal Twitter web application in 60 minustes

PREREQUISITESKnowledge Required / NOT Required

Page 6: Developing your personal Twitter web application in 60 minustes

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

Page 7: Developing your personal Twitter web application in 60 minustes

PRE-DEVELOPMENT REQUIREMENTSThings to be ready with before developing the application

Page 8: Developing your personal Twitter web application in 60 minustes

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 )

Page 9: Developing your personal Twitter web application in 60 minustes

REGISTER YOUR APP WITH TWITTERRegister your application with Twitter to get Key & Secret

Page 10: Developing your personal Twitter web application in 60 minustes

Step 01 – Visit Twitter Dev Site

Visit Twitter Developers Site and Click “Create an app” link

Page 11: Developing your personal Twitter web application in 60 minustes

Step 02 – Register Your App

Fill the Registration Form, agree Terms and click ‘Create’

Page 12: Developing your personal Twitter web application in 60 minustes

Step 03 – App Logo & Access

Next on Settings Page – Add App Logo and select ‘Read, Write and Access direct messages

Page 13: Developing your personal Twitter web application in 60 minustes

Step 04 – Get App Key & Secret

Next on Details Page – Get the ‘Consumer Key’ and ‘Consumer Secret’

Page 14: Developing your personal Twitter web application in 60 minustes

DEVELOPMENT STEPSTweak source code, add Twitter Key & Secret and Upload

Page 15: Developing your personal Twitter web application in 60 minustes

Step 01 – Understand Code

Page 16: Developing your personal Twitter web application in 60 minustes

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

Page 17: Developing your personal Twitter web application in 60 minustes

Step 03 – Upload Your App

Use FileZilla to upload your application in the root directory of your hosting space allotted to you

Page 18: Developing your personal Twitter web application in 60 minustes

Connect with mewww.MiteshSanghvi.com [email protected] Facebook.com/MiteshSpeaks

www.HOWdoIgetSMART.in/tipster