Home » , » Cara Buat Mobile Twitter Client Sendiri

Cara Buat Mobile Twitter Client Sendiri

Selamat malam menjelang pagi bung! semoga sehat selalu dan awet muda seperti saya. LOL!

Straight to the point aj deh :p Seperti halnya saya yang belakangan ini addict banget sama yang namanya twitter. almost tiada hari tanpa mempublikasikan apa yang saya lakukan di twitter. really-really such an amazing 140 charc.


Sering terlintas di kepala saya untuk membuat aplikasi mobile twitter client sendiri, karena saya hanya menggunakan handphone jadul dengan browser mini (operamini 4.0) untuk ber'twitter ria.


Alhasil tidak semua aplikasi dapat berjalan dengan sempurna di handphone saya. dan seperti biasa "Allah Swt Bless Google". saya menemukan source code project dari Dabr yang berbasis PHP. dan script ini dapat di unduh secara gratis. yippiekayeyy !! dan peracikan pun di mulai. btw jangan lupa follow twitter saya
@vickryvicqha

Berikut ini adalah step by step instalasi codes/script dabr di hostingan anda. Untuk membuat Twitter Client versi mobile ini anda membutuhkan :


* Hosting yang support :

-PHP 5.2+
-curl PHP module
-mcrypt PHP module
-mod_rewrite apache module
Hingga saat ini "desember 2011" hosting gratisan yang support yaitu Host1Free, kalian bisa daftar Hosting gratis nya disini. untuk domain bisa menggunakan domain gratis seperti dot.tk atau .co.cc

* domain (kalo cuma buat coba-coba bisa pake yg gratisan)

* source Code Twitter Client, Download disini

* Akun Twitter, silahkan mendaftar.


Step by Step :

1. Download dulu source codenya

2. setelah itu daftarkan dulu Applikasi yang ingin agan buat disini

Keterangan Pendaftaran :

* Application Name : Nama aplikasi

* Application Website : http://www.domainmu.com/

* Application Type : Browser

* Callback URL : isikan dengan alamat URL Dabr yang akan kita upload nanti, misal : http://www.domainmu.com/dabr

* Default Access Type : Read&Write

* Use Twitter for Login : Yes


3. Setelah mengisi form langsung di save maka kamu akan mendapatkan dua macam key, yaitu Consumer Key dan Consumer Secret Key. Maka Key itulah yang akan kita pakai nanti

4. Kembali ke file yang akan agan upload nanti, kemudian Rename file config-sample.php menjadi config.php, serta ubah beberapa scriptnya seperti :


// OAuth consumer and secret keys. Available from http://twitter.com/oauth_clients
define('OAUTH_CONSUMER_KEY', 'paste OAUTH Consumer kamu disini');
define('OAUTH_CONSUMER_SECRET', 'paste OAUTH Consumer Secret kamu disini');


5. Setelah itu upload semua isi file ke hosting anda dengan lokasi root folder yang diisi sewaktu mendaftar di Twitter Apps , misalnya tadi http://www.domainmu.com/dabr


* Tambahan :

140 Character Cut.

Untuk otomatis memotong (charc. cut) di twitter agar fit 140 charc. kita dapat menambahkan kode berikut. penambahan ini berguna untuk anda yang lebih suka me'retweet, agar tidak repot harus menghapus satu persatu kata-kata yang lebih dari 140 charc.

- pertama agan buka /common/twitter.php (buka pake notepad) cari kode berikut :
function twitter_update() { twitter_ensure_post_action(); $status = twitter_url_shorten(stripslashes(trim($_POST['status'])));

- nah dibawah kode itu , tambahin kode ini :
if (mb_strlen($status) > 140) $status = mb_substr($status, 0, 140, 'utf-8');


- Jangan lupa save coding yg tadi dan upload lagi ke hostingan. Selesai.


Twitpic API.

Biasanya codes asli dabr yang anda gunakan tidak akan bisa di gunakan untuk meng'upload gambar melalui aplikasi anda sebelum di lengkapi dengan API key dari aplikasi peng'upload gambar tersebut. kali ini menggunakan contoh dengan twitpic.

- Pertama silahkan mendaftar di http://dev.twitpic.com/
dan anda akan mendapatkan kode API key.

- Buka file config.php dan taruh kode API key yang anda dapatkan tadi.
contoh:

..... // API key for Twitpic - sign up at http://dev.twitpic.com/ define('TWITPIC_API_KEY', 'simpan_API_KEY_nya_disini'); .....


- Bila ada pertanyaan silahkan mention twitter saya. insyaallah saya bisa membantu. :)

Beberapa contoh Demo aplikasi yang sudah jadi:
Share this article :

24 komentar:

Anonim mengatakan...

I'm amazed, I must say. Seldom do I come across a blog that's equally educative and interesting, and
let me tell you, you've hit the nail on the head.
The issue is an issue that not enough people are speaking intelligently about.
I'm very happy I found this during my search for
something concerning this.

my site; sbobet

Anonim mengatakan...

Thanks to my father who informed me regarding this
web site, this webpage is in fact amazing.

Feel free to surf to my web blog - Marion (comercioeletronico.org.br)

Anonim mengatakan...

Only a skilled and specialized technician can resolve the troublesome situation. A green home
should be constructed from natural materials, from which there are any number to choose such as straw bales,
clay, or wood. If you don't have gutters, this might be
the most expensive part of creating a water catchment system, but
it will pay for itself many times over very quickly.



my weblog: webhop.se - -

Anonim mengatakan...

You made some good points there. I checked on the internet to learn more about the issue and found most people wikl go along with your views
oon this site.

Also visit my weeb page - Buy Youtube Views Review

Anonim mengatakan...

Hello to every body, it's my first pay a quick visit of this website;
this webpage consists of remarkable and in fact fine
stuff in favor of readers.

Here is my weblog :: Network TV

Anonim mengatakan...

Yoս have made ѕߋme really gߋod points there.
I looked on the net to find out more about the iissue and
found most peoƿle will ggo along wikth your vviewѕ on this wеbsite.



Herre is my աweb blog :: private investigator yuba city ca

Anonim mengatakan...

If some one wishes expert view about blogging and site-building after that i advise him/her to pay
a quick visit this web site, Keep up the nice work.

Here is my weblog: cambogia garcinia

Anonim mengatakan...

What's up everyone, it's my first visit at this site, and paragraph is genuinely fruitful in support of me, keep
up posting these types of articles.

Stop by my website www.caralarmsessex.com

Anonim mengatakan...

I'm really enjoying the theme/design of your weblog.
Do you ever run into any internet browser compatibility issues?

A small number of my blog visitors have complained about my blog not working correctly in Explorer but looks great in Opera.
Do you have any recommendations to help fix this problem?


Also visit my webpage - plumbing Melbourne (Www.2heartstouch.com)

Anonim mengatakan...

Asking questions are in fact pleasant thing if you are not
understanding something fully, but this paragraph offers
nice understanding yet.

Review my blog post: Family Guy The Quest for Stuff hints

Anonim mengatakan...

Can you tell us more about this? I'd love to find out some additional information.

Take a look at my web blog gas log fires melbournegas log heaters melbourne
()

Anonim mengatakan...

My coder is trying to persuade me to move to .net from PHP.

I have always disliked the idea because of the costs.
But he's tryiong none the less. I've been using Movable-type on numerous websites for about a year and am worried
about switching to another platform. I have heard very
good things about blogengine.net. Is there a way
I can transfer all my wordpress posts into it?
Any help would be greatly appreciated!

Feel free to surf to my webpage body detox

Unknown mengatakan...

Yaar matey. Whether ye have one eye or ye have em both, shield yer eyes from harsh glare reflected off flat surfaces like snow, pavement, and water with the Oakley Eyepatch oakleys Polarized Sunglasses. To give you the highest quality optics available, Oakley milled the Eyepatch’s lenses from a single piece of impact-resistant Plutonite polycarbonate. The result is a sunglass that’s as functional on the lake or on the road as it is fashionable. Oakley’s new Square O logos prove this Eyepatch is a genuine Oakley article.Sunglasses are one of the most widely used accessories. These not only oakley store help to correct vision and protect a person’s eyesight but also make the person look dashing and youthful. Oakley sunglasses are well known among youngsters for the wide variety of designs, shape and sizes of its products. This season the brand has come up with a new collection of all types like sports sunglasses, and designer sunglasses. These sunglasses have been designed with meticulous precision by oakley eyeglasses experts keeping in mind the latest fashion trends followed by the young generation.For people who are looking for a pair of sunglasses to protect their eyesight from the harsh rays of the sunglasses during the summer, Oakley OO2029 202901 Size:59 Sunglasses are the ideal option. This pair of designer Oakley sunglasses is UV 400 protected. Recommended by experts, they reflect or filter out 99-100% of UVA oakley sunglasses replacement and UVB light, with wavelengths up to 400 nm.
Rory seen wearing his iconic Oakley Fast Jacket XL in sky blue with positive red iridium lenses polarized lenses.

Unknown mengatakan...

But the decision was prompted by less of a desire to recreate what had already been done by so many his senior, it marked a decision to turn to traditional craftsmanship to serve as the core foundation sunglass hut of an aesthetically forward-thinking sunglasses line that would later be the SUPER brand we know today. Pulling on a range of early dior eye glasses inspirations and history of the brand, Beckerman’s latest interview with HYPEBEAST welcomes insight into the material selection of SUPER grames and lenses, prada sunglasses women the parallels between eyewear and fashion, as well as the upcoming projects that SUPER has down the line.My mind never stops — daniel swarovski eyeglasses it’s just like that. If I had more time I would definitely do many more things. Today I’m also working on PIG’s cheap coach eyeglasses 10th anniversary book, which by the way will be in English so we can share the amazing experience with a wider audience. gucci sunglasses I have a wonderful daughter I like to take care of and that is obviously my best project. And of course I cartier sunglasses am continuously working very hard on the development of SUPER. I have many other things I would like to bring forward but marc jacobs glasses like I said, I already have too much.
Made You Looks is a collaborative brand developed between Dr. Romanelli and distinguished eyewear warby parker brand Dita. Together they create shades that embody a playful nature yet still remain sleek and stylish. Featured here is The Seymour, karen walker number one sunglasses a classic carrera style frame flipped in a strawberry-red colorway inspired by the Strawberry Kiwi Lemonade SoBe Lifewater, deep purple inspired by bvlgari sunglasses 6038b Syrah Grape Berry SoBe Lifewater and the midnight black inspired by the Black and Blue Berry SoBe Lifewater. All feature the iconic mens d&g sunglasses SoBe lizard detailed on the frame.

xumeiqing mengatakan...

151202meiqing
michaek kors handbags
nike trainers
chanel bags
north face jackets
pandora jewelry
michael kors outlet clearance
louis vuitton bags
lebron james shoes
ralph lauren outlet
nike huarache
jordan 11
cheap jordans
lebron james shoes 2015
cheap uggs
ugg boots
canada goose
ugg australia
michael kors outlet
ugg slippers
replica watches
uggs for sale
ugg boots for men
toms shoes
coach outlet online
cheap oakley sunglasses
louis vuitton outlet
michael kors outlet online
uggs australia
ugg boots
oakley sunglasses
michael kors outlet
ray ban sunglasses
uggs on sale
canada goose outlet
christian louboutin
uggs outlet
nike air max
coach factory outlet
ed hardy clothing
cheap jordans

قمة الدقة للتنظيف mengatakan...


شركة الصفرات للتنظيف بالرياض
شركة تنظيف خزانات المياه بالدمام

qqqqqq mengatakan...

basket adidas zx flux femme rose Les feuilles asics gel lyte 3 aztec peuvent également être administrées en décoction interne pour new balance cuir blanc les fièvres. Hybrides et arbre de bois Woods asics kayano 24 pas cher sont mes fav out dans l'ensemble basket sport homme nike presto établi. Récemment introduit aux soins de chaussures nike air max thea pas cher la peau organique est un sérum air jordan 11 femme d'escargot que les scientifiques ont trouvé pour obtenir nike air max femme asos des propriétés de régénération de la peau.

jeje mengatakan...

jordan shoes
red bottom shoes
christian louboutin outlet
christian louboutin outlet
christmas presents
ugg outlet
kate spade outlet
christian louboutin
hogan shoes
ugg outlet

cara menggugurkan hamil mengatakan...

now present in your city

cara menggugurkan kandungan mengatakan...

cool, please guidance so that I can create a blog like yours

Murphy loe mengatakan...

We are proud to say that all our products are not displayed online without going through an intensive quality assurance process.
Buy clonezapam powder online
Buy cocaine online
Buy bio cocaine online
actavis-promethazine-codeine for sale online
Buy cocaine online
Buy marijuana online
Buy Martian Moonrock online
Buy kurupts moonrock online
Buy blue dream online
Buy Death Star Marijuana online
Buy vyvanse online
Buy ritalin online
Buy Godfather OG online
Buy Pineapple Express online

Unknown mengatakan...

replica bags in uk replica bags paypal replica bags online

mcslethe mengatakan...

check that dolabuy news best replica designer Recommended Site replica dolabuy

Anonim mengatakan...

hermes
off white outlet
off white x jordan 1
bape hoodie
supreme outlet
golden goose
air jordan travis scott
supreme official
hermes handbags
kd shoes

 
║▌║█║║▌│█│║▌║││▌│║
Copyright © 2013. PORTAL | VICSHARE - All Rights Reserved
Suport Template Creating Website All about Indonesian Creatify
Proudly powered by Blogger