We are looking for an experienced developer than can take a script that we already have and written in PHP and write it in Java to run it on our server in AWS. The PHP script is 150 lines long, the server is hosted AWS, and the database is in SQL. Once you have written the new script in Java, you will need to revise the script a few times to make it work as necessary. Be sure to read the job description below.
To pull all videos, pictures, and updates from certain Facebook Pages and display them in as close to real-time as possible in our app. This is where we expect that you will need to revise the script a few times in order to get as close to real-time as you can.
WHAT YOU WILL BE DOING
Currently we have a PHP script that pulls from Facebook, but we want to:
· Turn the PHP script into a generic function that can be called from Java provided the token and secret for a particular Facebook app that corresponds to a city.
·Find a Facebook Java library that works with the latest Facebook Graph API.
·Add a table in the database that maps a venue to a Facebook App ID.
SOME IDEAS ON HOW TO IMPLEMENT
I would create a new thread in Java for each Facebook app, and it would call the generic function mentioned above with parameters for that app, and sleep for X seconds. The function needs to only insert new posts into the LiveFeed table, so it first needs to query the table for the latest posts, remove the duplicates from our Facebook query, and batch insert the posts in. The batch insert is important to ensure that we don't overload our own servers.
POTENTIAL PITFALLS AND COMPLICATIONS
Playing with the Java Facebook library to find the corresponding functions that match the PHP Facebook library functions.
**Reply with the word "Mustard" in the title so that I know you actually read the project description. We will not be paying per hour and we will not switch to hourly. Be sure to give a realistic quote on how long this will take you. There will be no re-negotiating the contract once we start and you will be expected to meet your deadlines.