Fixed many errors. Reverted to the pre-graph API. Slowly changing it to the Graph API. Working on S3, though needs a workaround to co-exist with the fb app
yay