I recently purchased a script online (will disclose more info on script in PM) and it came with a few auto posting plugin scripts. One of which is a Facebook auto posting script, where it's "supposed" to takes images I've uploaded to my site and auto posts them to my Facebook page. But I cannot for the life of me get it to work properly. I have been able to get it to post images to Facebook, but it will not post them to my Fan Page, only to my personal page. And the whole purpose of the script was to set a cron to have them posted to my fan page every so often.
This is the line of code that I am asked to input my info into;
$cfg['facebook_app_id'] = '';
$cfg['facebook_app_secret'] = '';
$cfg['facebook_username'] = '';
$cfg['facebook_page_id'] = '';
$cfg['facebook_page_album_id'] = ''; // the Wall Photos album ID, no dots in ID
And Every time I run the script I get this error (I have removed the paths to each file and will disclose more in PM);
Notice: Undefined offset: 1 in [url removed, login to view] on line 66
Notice: Undefined index: data in [url removed, login to view] on line 74
Warning: Invalid argument supplied for foreach() in [url removed, login to view] on line 74
Trying "Image Title"
Fatal error: Uncaught OAuthException: A user access token is required to request this resource. thrown in library/[url removed, login to view] on line 1107
I would ask the seller of the script to correct this for me, but he is not available by email or his support forum, which is my reason for posting this project here on Freelancer.
This is what I need done;
1. Find out why the script can posting the images to my Personal Page but not my Fan Page even when I input the correct album ID and correct this issue.
2. Make an adjustment to the script to allow me to input a description that will be posted along with every image that is posts on my Fan Page. Currently it already posts the Image, Image Title and a link back to the image on my website, but I would like to input a more lengthily comment with each post.
This is all I need done. This should be a simple and relatively quick task for anyone who is familiar with PHP and Facebook's API.
Please only bid if you have prior experience with PHP the Facebook API.
Also, please let me know if this job can be completed without giving out my Facebook login credentials. I would rather not give this information out.
I look forward to working with you.