Re: AutoFacebook [Support]
Quote:
Originally Posted by
cavatappo
I manage multiple pages. this new update was very streamlined and very easy to implement. But it's not updated the correct page. How do i designate which page the AutoFacebook updates?
Are you referring to your main profile page?
As of right now it seems it is a requirement to create a new Page on facebook to make this work where the application you create on Facebook, it does not like to update your main profile for some reason but this is not mod related as far as I can tell.
Re: AutoFacebook [Support]
If I run autofacebook and autotwitter, it (autotwiter), don't actualize the comments in the wall (please see the picture).
Re: AutoFacebook [Support]
Quote:
Originally Posted by
bluedotted
Are you referring to your main profile page?
As of right now it seems it is a requirement to create a new Page on facebook to make this work where the application you create on Facebook, it does not like to update your main profile for some reason but this is not mod related as far as I can tell.
Not my main profile page. I maintain 7 different business fanpages. When i set this up, it automatically posted to the wrong fanpage. How do I change which fanpage it autoposts to? It was not good for the dinner special to be posted on the spanish harlem movie page. :)
Re: AutoFacebook [Support]
Attempting to run facebook_authorization.php and received the following error:
Notice: Undefined offset: 1 in C:\Inetpub\shopping.imagineighborhoods.com\facebook_authorization.php on line 956
Fatal error: Uncaught CurlException: 60: SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed thrown in C:\Inetpub\shopping.imagineighborhoods.com\facebook_authorization.php on line 599
I got to the facebook login page ok, logged in, clicked the "Allow" button, then received this error. I'm on zen-cart v1.3.9f, fresh install of AutoFacebook 2.0, PHP 5.2 build 3790, with:
- CURL (libcurl/7.14.0 OpenSSL/0.9.8a zlib/1.2.3 )
- gd2 (bundled (2.0.28 compatible) )
- JSON 1.2.1
- MySQL 5.0.22
My platform is Windows Server 2003, IIS6.
Any help would be appreciated.
Re: AutoFacebook [Support]
Resolved the SSL Error above shortly after I posted it. Problem was that cURL needed an updated CA list. Used http://davidwalsh.name/php-ssl-curl-error to help with the fix.
To fix:
Step 1. Goto http://curl.haxx.se/docs/caextract.html downlaod cacert.pem and add it to your PHP root directory.
Step 2. Modify facebook_authorization.php by adding the following code right after any occurance of curl_init();
PHP Code:
curl_setopt($ch,CURLOPT_CAINFO,"C:\PHP\cacert.pem");
Where C:\PHP\ is your path to your PHP root.
Step 3. Make the same modification from Step 2 to the following file: admin\includes\modules\facebook\facebook.php
Once I made these mods, Auto Facebook works like a charm.
I didn't get a chance to try this, however, it may be possible to use the direct link to the cacert.pem file http://curl.haxx.se/ca/cacert.pem in the curl_setopt code.
cannot insert product in autofacebook version 1
It looks the old autofacebook version 1 doesn't work any more. I cannot insert new products to my website. It showed a HTTP 500 Internal server error page. But i can still update exsiting products.
But, when I delete all the autofacebook code from update_product.php in admin/includes/modules, I can insert products again. Anybody has the same problem?
Re: cannot insert product in autofacebook version 1
Quote:
Originally Posted by
lina0962
It looks the old autofacebook version 1 doesn't work any more. I cannot insert new products to my website. It showed a HTTP 500 Internal server error page. But i can still update exsiting products.
But, when I delete all the autofacebook code from update_product.php in admin/includes/modules, I can insert products again. Anybody has the same problem?
You need to Upgrade to version 2
Re: AutoFacebook [Support]
Does anyone know how to designate which fanpage the autofacebook module posts to?
Re: AutoFacebook [Support]
Quote:
Originally Posted by
jamielife
Yeah it was designed to do that, I just needed to see the structure of the products_description array.
Go a head and delete those 3 lines for now.
I'm looking into this.
jamielife did you happen find a fix yet? Thank you in advance
Re: AutoFacebook [Support]
Quote:
Originally Posted by
cavatappo
Does anyone know how to designate which fanpage the autofacebook module posts to?
that's definited by in the $page_id
if you'd like to specify go to your page in your browser and you should see the page's id number in the address bar. then in (update_product.php) just page $page_id ="your page id" that specific number.