added facebook php and javascript sdk to complete uploads