Forums / All Other Contributions/Addons / AutoFacebook [Support]

AutoFacebook [Support]

Results 1 to 20 of 691
25 Apr 2010, 17:01
#1
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Posts:
161
Plugin Contributions:
0

AutoFacebook [Support]

This is the official thread for the AutoFacebook mod recently made available in the add-ons section at http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1623.

The modification allows you to automatically update your facebook's buisness page everytime you add a new product.

AutoFacebook has only been tested on English (one language) Zen Cart 1.3.8 with php 5.3 however it should work fine as long as you're using php > 5.

Also please make sure you're server supports JSON

Hope ya like it :smile:
26 Apr 2010, 15:02
#2
sumri avatar

sumri

New Zenner

Join Date:
Mar 2008
Posts:
46
Plugin Contributions:
0

Re: AutoFacebook [Support]

hi...
i got thir error after click "" link


API Error Code: 100
API Error Description: Invalid parameter
Error Message: Param fbconnect must be a boolean

pls refer attachments for refference.
thanks.
26 Apr 2010, 15:39
#3
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Posts:
161
Plugin Contributions:
0

Re: AutoFacebook [Support]

K It looks as if Facebook changed their connect proceedure. of course this happened after the application was submitted to Zen Cart.

Anyway heres the fix.

go into your application's settings (same area from steps 5-7) and change the following:

1st you'll see a Migration tab:
Switch "New Data Permissions" to "Disabled"

2nd now click the Connect tab:
and switch your "connect url" to:
http://apps.facebook.com/
26 Apr 2010, 18:30
#4
sumri avatar

sumri

New Zenner

Join Date:
Mar 2008
Posts:
46
Plugin Contributions:
0

Re: AutoFacebook [Support]

Thanks.
Successfully configures.
But I get this error after adding product.

Warning: include_once(facebook/php/facebook.php) [function.include-once]: failed to open stream: No such file or directory in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 145

Warning: include_once() [function.include]: Failed opening 'facebook/php/facebook.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 145

Fatal error: Class 'Facebook' not found in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 147
26 Apr 2010, 18:41
#5
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Posts:
161
Plugin Contributions:
0

Re: AutoFacebook [Support]

try changing (around) line 149 of your update_product.php file in the admin/includes/modules folder
where you see
[PHP]include_once 'facebook/php/facebook.php'; [/PHP]
to:
[PHP]include_once 'includes/modules/facebook/php/facebook.php'; [/PHP]
27 Apr 2010, 01:41
#6
sumri avatar

sumri

New Zenner

Join Date:
Mar 2008
Posts:
46
Plugin Contributions:
0

Re: AutoFacebook [Support]

jamielife:

try changing (around) line 149 of your update_product.php file in the admin/includes/modules folder
where you see
[PHP]include_once 'facebook/php/facebook.php'; [/PHP]
to:
[PHP]include_once 'includes/modules/facebook/php/facebook.php'; [/PHP]


same result :
Warning: include_once(includes/modules/facebook/php/facebook.php) [function.include-once]: failed to open stream: No such file or directory in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 145

Warning: include_once() [function.include]: Failed opening 'includes/modules/facebook/php/facebook.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 145

Fatal error: Class 'Facebook' not found in /home/vshopgr9/public_html/admin/includes/modules/update_product.php on line 147
27 Apr 2010, 01:57
#7
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Posts:
161
Plugin Contributions:
0

Re: AutoFacebook [Support]

It looks like your include_path is set to a specific folder... Check your php.ini settings or try adding before the include_once line so it looks like:

[PHP]set_include_path('/home/vshopgr9/public_html/admin/includes/modules/)';
include_once 'facebook/php/facebook.php';[/PHP]
27 Apr 2010, 02:00
#8
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Posts:
161
Plugin Contributions:
0

Re: AutoFacebook [Support]

maybe play around with the paths
29 Apr 2010, 16:23
#9
sumri avatar

sumri

New Zenner

Join Date:
Mar 2008
Posts:
46
Plugin Contributions:
0

Re: AutoFacebook [Support]

Thanks.
works fine.
But new problem came out.
My website has been suspended due to usage of CPU was more than allowed by hosting provider.
Is it because of this module?
Just curious because my website has been suspended after I add few new products right after i've installed autofacebook mod.
Thanks again.
29 Apr 2010, 16:32
#10
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Posts:
161
Plugin Contributions:
0

Re: AutoFacebook [Support]

I'd doubt it. When writing/testing it, I probably used it about 100 times a day(at least), of course that's on an ipower server. All it is doing is making a single JSON request to facebook. I wouldn't imagine that this would have got you suspended but I don't know your server's settings. Best to call them and find out.
29 Apr 2010, 16:37
#11
sumri avatar

sumri

New Zenner

Join Date:
Mar 2008
Posts:
46
Plugin Contributions:
0

Re: AutoFacebook [Support]

tqvm.
i'll check it with my host provider.
30 Apr 2010, 13:59
#12
rdenham avatar

rdenham

New Zenner

Join Date:
Jan 2008
Posts:
19
Plugin Contributions:
0

Re: AutoFacebook [Support]

Thanks for the great mod.

All I need know is to get some follows on facebook.

Plus

I have Ultimate SEO URLs installed. Is there any way of making the url posted on was facebook use SEO url.

I will be having a look over the weekend if I get a few minutes. Just wonted to see if any one has all ready done it.
01 May 2010, 07:31
#13
subir avatar

subir

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: AutoFacebook [Support]

Hello,
I installed auto facebook in zen cart 1.3.9 (newest version). But update_product page is not working. When I add a new product it show white page and facebook page is not posting the new prorduct data but product is being inserted to to cart. Please help me.

Thanks.
01 May 2010, 21:35
#14
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Posts:
161
Plugin Contributions:
0

Re: AutoFacebook [Support]

copy lines 131 - 173 of the update_prodcut.php file included with AutoFacebook and paste them into line 88 of the original update_product.php file that came with version 1.3.9 in your admin/includes/modules folder. Use the updated original instead.
01 May 2010, 21:39
#15
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Posts:
161
Plugin Contributions:
0

Re: AutoFacebook [Support]

@rdenham: If there is a way I don't know it. I tried installing Ultimate SEO URLs to test it real quick but ended up breaking my store haha. I would think though, that because the URL are rewritten via the htaccess file, that it is not possible. The bit.ly link should use the original url, that will be coverted to the seo friend url once the user enters your site, but I don't know for sure. You might have better luck in the Ultimate SEO URLs forum.
01 May 2010, 23:18
#16
tannie avatar

tannie

New Zenner

Join Date:
Mar 2010
Posts:
4
Plugin Contributions:
0

Re: AutoFacebook [Support]

Have installed it so far and so far so good. Now I'm not sure if its in there already but is it possible to include auto update for any specials as well?
01 May 2010, 23:28
#17
jamielife avatar

jamielife

Zen Follower

Join Date:
Dec 2009
Posts:
161
Plugin Contributions:
0

Re: AutoFacebook [Support]

Not presently, that is a good idea though. For the time being, anything other than new products will have to be added to facebook like normal. I'll look into it though, it may be something for future versions of AutoFacebook.
02 May 2010, 11:28
#18
subir avatar

subir

New Zenner

Join Date:
Sep 2009
Posts:
6
Plugin Contributions:
0

Re: AutoFacebook [Support]

Thanks for your response. I did that but same result. I got "API Error Code: 100
API Error Description: Invalid parameter
Error Message: Param fbconnect must be a boolean" and I corrected it according to your direction give in the page 1. I also followed your direction now. I paste the line to the 1.3.9 version update_product.php file but the result is the same. Please do a favour.

Thanks.
02 May 2010, 12:28
#19
deathman2006 avatar

deathman2006

New Zenner

Join Date:
Apr 2010
Posts:
38
Plugin Contributions:
0

Re: AutoFacebook [Support]

Im running this on 1.3.9a without any problems.
Ive also got ceon's mapping installed too.
02 May 2010, 20:31
#20
visexp avatar

visexp

Zen Follower

Join Date:
Jul 2008
Posts:
106
Plugin Contributions:
0

Re: AutoFacebook [Support]

First of all thank you for a great mod.

I have installed it and it seems to be working fine with one exception. I uploaded a test product to my website and the mod generated a post on my facebook page. The only problem is the post was generated on my personal facebook page and not on my business fan page.

No doubt I have given the application the wrong permission somewhere, but I have no idea where to go to change it. I would like it to only generate a post on my FB business page and not on my personal FB page.

Thanks in advance for any help you can give me :D