I was also curious about what triggers the mod to make a post on FB?
If you add products via Easy Populate will it trigger the mod?
Printable View
I was also curious about what triggers the mod to make a post on FB?
If you add products via Easy Populate will it trigger the mod?
This could be due to any number of things missed in the installation.
I would remove the Application from your fan page (you can do this from your applications page) go back and repeat the tutorial starting at step 8. (http://htmyell.com/autofacebook-for-zen-cart/)
also
1. make sure the $user_id in steps 11 and 18 are set to the id of your facebook fan page.
2. make sure you add your application to your fan page (step 13)
and
3. that you install the application to your fan page. (steps 14-16).
@VisExp the mod uses the facebook api and jquery to make the calls, you could (in theory) copy the code and (if needed) adjust the paths to the php folder and use it with Easy Populate if you know what vars they're using etc, however I don't know anything about Easy Populate, and if you arent sure what you're doing I wouldnt advise it.
@deathman2006: thanks for letting us know. Glad to hear it.
Thanks for the reply :D
I deleted the applications and started again. I figured out what I was doing wrong. A while back I had changed my FB to the name of my business instead of a number (when they offered the option of vanity URL's). I was using that name instead of the number as the user_id
Once I changed that to the number everything worked fine.
Thank you again for the mod and for your help with it :clap:
It is not showing price or discription on Facebook. Any one know how to fix this?
So everything else works? Products name? the image is showing up on FB? etc?
For the price you could try changing line 144 (of update_product.php in admin/includes/modules) where you see:
to:PHP Code:
$price = $products_price;
As for the discription, I'm not sure. Are there any special characters in the discription?PHP Code:
$price = $_POST["products_price"];
Maybe try changing line 147 where you see:
to:PHP Code:
$prod_description = implode(" ", $_POST['products_description']);
Let me know if that helpsPHP Code:
$prod_description = $sql_data_array["products_description"];
Ive tried that and it didnt work for me either :(
I still dont get the price on FB
Also going back to the problem of posts on both the business and personal fb walls, how do you make it post only on the business page?
Working on the price/description problem now.
@deathman2006: it should only be posting to your business page. When testing I noticed if i didnt perform steps 13, 14, or 16 properly I would end up with mixed up personal/business pages. Also make sure you are using your business page's id for $user_id in both edited php files.
Just wanted to say thanks for the very nicely put together add-on And the very complete step-by-step how-to. Worked like a charm!
Well thanks, I'm glad you liked it :)
Question: One of my carts is a Zen version 1.3.6. Do you know of any reason why this add-on might not function with it?
Thanks