Đã hoàn thành

Web page and cron-script that allows users to enter a twitter name, and receive a unique code that they can use to refer friends

I'd like to create a webpage that does the following:

1. Connects to a mysql db.

The db will have the following fields: twitterid, uniquecode, referrals

2. Connects to the twitter API

3. Has a form on the page for a user to enter their twitter handle, a submit button and a textfield for output.

The form is pre-populated with the @ sign

When they fill in their twitter name and hit submit:

It checks the db to see if the handle already exists. If so, it displays in the textfield a count of rows from 'referrals' from the db associated with that 'twitterid'.

If the handle doesn't exist - it checks the twitter API to make sure that username really exists, otherwise displays 'invalid twitter handle'.

4. If it's a new twitter name, it stores that in 'twitterid' and generates a unique 5 letter code, stored in 'uniquecode'.

5. It displays the unique code in the textfield. It should process the form and show the output without leaving the page.

6. A separate script (a cron-job perhaps?) that polls Twitter, in accordance with their policies. The poll looks for tweets that contain a certain twitter handle and a keyword, and if it finds both of those, looks for a unique code in that tweet, and checks it against the db to see if it exists.

The twitter handle and keyword it looks for should be adjustable by php variables within the code, i.e. $masterhandle $keyword

7. On finding a unique code succesfully:

It checks to see if the user who has posted, follows $masterhandle.

If the user does follow $masterhandle - it stores the twitter handle of the person posting, in the 'referrals' field in the db, associated with the 'uniquecode'.

If the user does not follow $masterhandle, then it should not store anything.

Kĩ năng: HTML, Javascript, MySQL, PHP, Twitter

Xem nhiều hơn: leaving job letter, leaving a job letter, leaving a job, finding a new job, finding a job, code that, unique security code form, visual basic code add friends myspace, sms send receive code, generating unique alphanumeric code, receive code sms, curl php code invite friends, php unique generated code, code adding friends chat net, cheat code myspace friends

Về Bên Thuê:
( 5 nhận xét ) London, United Kingdom

ID dự án: #8762730

Được trao cho:

gambanetwork

A proposal has not yet been provided

$85 USD trong 3 ngày
(3 Đánh Giá)
1.8

5 freelancer đang chào giá trung bình $173 cho công việc này

yusuf2004

Hello, I'm PHP expert. And i have many experience with Twitter API. If you award me i can start right now and finish immediately! Thanks....

$177 USD trong 2 ngày
(25 Nhận xét)
6.2
miltonyukiomatsu

A proposal has not yet been provided

$211 USD trong 3 ngày
(50 Nhận xét)
5.4
phpfreelancer14

hi I am writing to you since I am interested in the job posting. Working with PHP, HTML/CSS and MYSQL, I have completed a number of projects that are relevant to the skills required in this job posting. They in Thêm

$250 USD trong 10 ngày
(27 Nhận xét)
5.1
gulshanshaw

Hello! I am a Web developer with more than 7 years of Experience, I have a team of experienced developers and designers. We are ready to do your project based on these requirements you give. We are familiar with Gra Thêm

$200 USD trong 7 ngày
(13 Nhận xét)
4.3
itwebworld

A proposal has not yet been provided

$144 USD trong 3 ngày
(116 Nhận xét)
4.2
elitesoft5

Dear Sir Hi, Greetings of the day and thanks for sharing these details and allowing me to bid on this assignment. yes we have similar experience and can deliver u as u have mentioned in your requirements. we Thêm

$155 USD trong 3 ngày
(0 Nhận xét)
0.0
link2hamxa

A proposal has not yet been provided

$155 USD trong 3 ngày
(0 Nhận xét)
0.0