So I know there are many scripts out there that do bits and pieces of what I want to achieve, however I require the following:
A Worpress Plugin which will achieve the following.
First of all an Admin Menu is needed for the Configuration and Settings of this Application
Settings tab or page
• Facebook Application ID
• Facebook URL (to Like or Share)
• Enabled
• Database Settings (default to wordpress credentials unless these are changed)
o DB Name
o DB Table
o DB Host
o DB User
o DB Password
Integrate with the Facebook Graph API to create a Like Button which requests the following from the user and save to a MySQL Database
• ID
• Name
o First and Last Name
• First_name
o First_name
• Last_name
o Last_name
• Birthday
o User_birthday
• Email
o me?fields=email
{
"email": "",
"id": "000000000"
}
• Gender
o me?fields=gender
{
"gender": "male",
"id": "0000000000"
}
• Link
o me?fields=link
{
"link": "[login to view URL]",
"id": "000000000”
}
o /me?location
o "location": {
"id": "106297619405550",
"name": "Christchurch, New Zealand"
This information is needed to be inserted into the database table as follows:
InternalID int primary key identity NOT NULL
FacebookID int(20) NOT NULL
FacebookName Varchar(100) NULL
FacebookFirstName Varchar(50) NULL
FacebookLastName Varchar(50) NULL
FacebookBirthday Date NULL
FacebookEmail varchar(100) NULL
FacebookGender Varchar(10) NULL
FacebookLink varchar(100) NULL
FacebookLocation Varchar(150) NULL
Step 2
With the above information we would like to restrict access to a page until the content is Liked, please note this is the page access to be restricted, not the post information.
So am assuming the process works like this
If user has liked the page before there will be a cookie stored for the longest amount of time, if this cookie exists show the page, if the cookie does not exist see if the user is logged into facebook, if they are logged into facebook and their facebookID == SELECT * FROM Ourdatabase where FacebookID = xxxxxxxxxxxx if returns a value regenerate the cookie and allow them to access the page, else request app and like permission from the user and put them in the table, generate the cookie and allow access.
Please note I have some code which does similar features to this, however I would like someone to expand on the current code or write from scratch using other code.
This project will lead to other projects as I run a outsourcing development company.
Excellent feedback will be given to the successful applicant. There will also be future work provided this is delivered to my expectations.
Of course the cheapest freelancer is going to be awarded this project.
Look forward to discussing this with you.
Ready to start "Now "
Give me chance to prove my ability and also quality work
i am waiting your positive replay from your side
i am highly interested to work with you