Käynnissä

PHP Login and register with Facebook and twitter (Oauth)

Hi all,

i need to integrate Login and Register process using Facebook and Twitter.

The result need to be the same than www.pinterest.com. But there are a lot of examples...

I will include my current code, which is able to login / register writing / reading from a table in a MySQL database.

Code es very simple and easy to understand.

I also will include the create script of my table 'users'.

Data access is made with PDO.

Explanation of the code:

- First, you go to [url removed, login to view] page to register a new user. Fill the form and press 'Register'. It inserts a new user row in the table 'users'

- Second, the user login. Fill username / password and press Login. Then, the page stores username and sh1(password) in the cookies and session

- When the user comes back again, the page reads the cookie and try to login automatically.

The goal of the project is to modify the table 'users' with new fields related to facebook / twitter authentication and modify some parts of the code to make all working.

I think that this link is a good starting point:

[url removed, login to view] (slash) blog (slash) login-with-facebook-and-twitter

I want a proffesional work, with reliable code, etc.

Also if you found some security hole, please solve it. I will pay you more money if you found some improvement to make in my code.

Also, if i have to register in facebook, twitter, something like apikey, or register application, you will have to explain me the process.

To make the code running in your computer, you have to change the following:

- root .htaccess file:

php_value include_path ".;C:/Inetpub/htdocs/sopping/2/config"

set the path in your pc of the config folder. This is because in my code i write - include "[url removed, login to view]" - that is located in this directory

- /config/[url removed, login to view]

Define the following global variables:

// Root path of the files

define ('ROOT', $_SERVER['DOCUMENT_ROOT'].'/sopping/2');

// Root url path of the page. For example, in my computer is http://localhost:8080/sopping/2/public.

define ('PUBLIC_URL', '/sopping/2/public');

- /lib/dal/[url removed, login to view]

Set database access parameters:

DEFINE ('DB_USER', 'root');

DEFINE ('DB_PASSWORD', '');

DEFINE ('DB_HOST', 'server_name');

DEFINE ('DB_NAME', 'database_name');

Taidot: Markkinointi Facebookissa, MySQL, PHP, Twitter

Näytä lisää: php facebook twitter login, php facebook twitter oauth, register using facebook twitter, register using facebook twitter php, create facebook twitter login php mysql, twitter php mysql login, login facebook twitter php, www pinterest, writing in the facebook, writing in facebook, write proffesional blog, with explanation, reliable parts, pinterest.com, php code register, parts database access, make money writing code, login php code with mysql, i want to register my blog, define application security, create a facebook page for a blog, facebook twitter login, pinterest facebook login, php oauth example, global computer

About the Employer:
( 7 reviews ) BINEFAR, Spain

Projektin tunnus: #4296957

Myönnetty käyttäjälle:

janudvs

Hellos Sir, I am ready to start. Thanks

€8 EUR / tunti
(8 arvostelua)
3.4

8 freelanceria on tarjonnut keskimäärin 9 €/tunti tähän työhön

Ameba871117

hi. your task is very simple for me. pls tell me your site ftp info. then i will work immediately for fb, twitter login/register. thx.

€10 EUR / tunti
(57 arvostelua)
5.0
phpraza

Hello, PHP/MYSQL expert here with 1+year of experience in web development, I had worked on both twitter and facebook APIS and I think I am the right option to work on this project Please contact me if interested Lisää

€8 EUR / tunti
(50 arvostelua)
5.0
shubham2dawra

Hi i am a PHP Dev. i have exp. in FB SDK & Twitter SDK i can work on this Project

€8 EUR / tunti
(4 arvostelua)
3.9
netmanivw

I am experienced in PHP/Mysql , JS website development, please check pm for my work links.

€8 EUR / tunti
(1 arvostelu)
3.0
hyperlinkinfo

I can do this work we havea good team of PHP

€12 EUR / tunti
(2 arvostelua)
1.0
beltechnology

BelTechnology is team of uniquely competent, professional and innovative software professionals providing full featured web services including B2B & B2C solutions which also acts as an offshore development center for o Lisää

€10 EUR / tunti
(0 arvostelua)
0.0
acmesys1994

Kindly check our personal message.

€10 EUR / tunti
(0 arvostelua)
0.0
andreashartanto

Please have a look [url removed, login to view]

€10 EUR / tunti
(0 arvostelua)
0.0