PHP/JS Facebook Authentication and Posting

PHP/JS Facebook Authentication and Posting

Closed - This job posting has been filled and work has been completed.

Job Description

I need a PHP script that does some simple integration with Facebook (authentication and posting messages). Here's the specification:

1. We have a "login page" where there will be a form to be submitted. You need not worry about the contents of the form. However, the user should be able to login via facebook (before posting the form). Since the user will have already filled the form, the login would need to use FB's JS sdk. Any additional details acquired will be inserted as hidden form elements (and that too only if needed).

2. The form is submitted to a second PHP script. It will use FB's serverside PHP SDK to get details of the user and validate them. Then, it has to post a message on the user's profile automatically. Again, you need not worry about the content of this message.

3. Thirdly, we have an "administrator facebook account." We will need a 60-day access token for this one. When we post on the user's wall in point 2, we also need to post on a predefined Facebook page. And this has to be done from this "administrative" facebook account (and not the present user's account). We will need a separate page to link this administrative FB account and store its details for further use. You can store it in a file for now. I'm not sure as to what details of the FB page we're posting to we will need.


You don't need to design anything great on the frontend. Your code should only be functional with respect to the above points. It will eventually get integrated into another Codeigniter application. So you just have to get the steps and logic right.

Also, I don't need to store any of the FB details of the user. As long as I have access to it in the 2nd PHP file, I'll take care of that.

---
Skills: facebook