Page 36 of 70 FirstFirst ... 26343536373846 ... LastLast
Results 351 to 360 of 695
  1. #351
    Join Date
    Jun 2010
    Posts
    8
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by artistcsi View Post
    I finally got this contribution to work! YEAH! However, it was posting to the wrong FB page, but thanks to the replies here, that's fixed.

    But now, since I have set it to the correct FB page, it is giving me an error when I input a new product:
    Error Facebook Error: (#200) Posts where the actor is a page cannot also include a target_id

    Has anyone else experienced this one?
    http://www.zen-cart.com/forum/showth...=1#post1006094

    I searched first, but didn't see this answer until after I posted, sorry However, its all good now.

  2. #352
    Join Date
    Dec 2005
    Location
    Cincinnati Ohio
    Posts
    1,030
    Plugin Contributions
    13

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by Ducati87 View Post
    nobody can help me?

    Did you follow this guide? It has step by step instructions and still confirmed working. Also be sure your host allows JSON to connect but JSON is pretty much obsolete for facebook appilications so it should not be a huge problem if they do not support it.
    PCI Certified Web Hosting - ControlScan, Security Metrics (Platinum Partner), McAfee, TrustKeeper
    Business Class Web Hosting - Linux and cPanel Powered

  3. #353
    Join Date
    Apr 2010
    Location
    London, UK
    Posts
    38
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    Has anyone managed to get the "£" sign working in autofacebook 2 yet?
    Last edited by deathman2006; 16 Mar 2011 at 02:39 PM. Reason: typo
    Clever AV Ltd
    http://www.cleveravltd.co.uk
    ZenCart 1.3.9g

  4. #354
    Join Date
    Dec 2010
    Posts
    28
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by knuckle-101 View Post
    Did you follow this guide? It has step by step instructions and still confirmed working. Also be sure your host allows JSON to connect but JSON is pretty much obsolete for facebook appilications so it should not be a huge problem if they do not support it.
    ok now it works! Thx a lot!

  5. #355
    Join Date
    Mar 2010
    Posts
    83
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by sergiojg View Post
    I did the intallation without problems but now when i add an item on my zencart it say. Facebook was successfully updated! but in my facebook i don't see nothing. any idea ??
    Same problem here any help would be greatly appreciated

  6. #356
    Join Date
    Mar 2009
    Posts
    6
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by 3dsgiftsnThings View Post
    Same problem here any help would be greatly appreciated
    I have the same problem, it's not showing up on FB at all.

  7. #357
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by kashyyyk View Post
    I moved my autoFacebook low on the update_product.php page so my items will update even when I edit an item because I like to duplicate and edit for new items, but sometime I just change quantities because of ebay sales and don't want them to update at facebook as a new item, sometimes I have zero quantity and don't want to disable the item.

    I changed some files, just so you know, I know just enough PHP to get me in trouble sometimes.

    I may add to the lanquage files later, but for me this works

    Here is what I edited-
    admim/includes/modules/product/
    collect-Info.php
    preview_info.php

    collect-Info.php- I added in bold and where
    Code:
           <tr>
                <td colspan="2"><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
              </tr>
               <tr>
                <td class="main">Facbook Update </td>
                <td class="main"> <input type="checkbox" name="facebook_update" value="Yes" />Check for yes</td>
    
              </tr>          <tr>
                <td class="main"><?php echo TEXT_PRODUCTS_WEIGHT; ?></td>
                <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . '&nbsp;' . zen_draw_input_field('products_weight', $pInfo->products_weight); ?></td>
              </tr>
    preview_info.php
    Code:
    //auto replace with defined missing image
                if ($_POST['products_image_manual'] != '') {
                  $products_image_name = $_POST['img_dir'] . $_POST['products_image_manual'];
                  $pInfo->products_name = $products_image_name;
                }
                if ($_POST['image_delete'] == 1 || $products_image_name == '' and PRODUCTS_IMAGE_NO_IMAGE_STATUS == '1') {
                  echo zen_image(DIR_WS_CATALOG_IMAGES . PRODUCTS_IMAGE_NO_IMAGE, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="right" hspace="5" vspace="5"') . $pInfo->products_description;
                } else {
                  echo zen_image(DIR_WS_CATALOG_IMAGES . $products_image_name, $pInfo->products_name, SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT, 'align="right" hspace="5" vspace="5"') . $pInfo->products_description;
                }
              ?>
     
    <!--BO FACEBOOK-->
                 </tr><tr>
              <td><hr></td> 
                </tr><tr>
    <td class="smallText">
     <?php
    if ($facebook_update == "Yes") {
                      echo "Facebook Will be Updated.";
    
                    } else {
                      echo "Facebook Will NOT be Updated.";
    
                    }
     ?>
                   </td>  </tr>
               <tr>
    <!--EO FACEBOOK-->      
     </td>
          </tr>
    <?php
          if ($pInfo->products_url) {
    ?>
          <tr>
            <td><?php echo zen_draw_separator('pixel_trans.gif', '1', '10'); ?></td>
          </tr>
          <tr>
            <td class="main"><?php echo sprintf(TEXT_PRODUCT_MORE_INFORMATION, $pInfo->products_url); ?></td>
          </tr>
    <?php
    admim/includes/modules/

    update_product.php around the autofacebook code
    Code:
    if ($facebook_update == "Yes") {
                    //AutoFacebook light
    
    $pageID = "edited"; //received when signing up.
    
    // no need to edit below this line
    $prod_vars = array(
    'page'              =>  $pageID,
    'prod_image'        =>  $_POST['products_image'],
    'price'             =>  $products_price,
    'prod_name'         =>  $_POST['products_name'][$_SESSION['languages_id']],
    'prod_description'  =>  $_POST['products_description'][$_SESSION['languages_id']],
    'prod_url'          =>  '/index.php?main_page=product_info&cPath=' . $current_category_id . '&products_id=' . $products_id, );
    $url = "http://apps.htmyell.com/fbpageid/sendvars.php";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $url);
    curl_setopt($ch, CURLOPT_POST, 1);
    curl_setopt($ch, CURLOPT_POSTFIELDS, $prod_vars);
    curl_setopt($ch, CURLOPT_HEADER, 0);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $result = curl_exec($ch);
    curl_close($ch);
    if (isset($result['success'])){ $messageStack->add_session('Facebook was successfully updated!', 'success');}
    else if (isset($result['error'])){ $messageStack->add_session('Facebook Error: '.$result['error'], 'error'); }
    else { $messageStack->add_session('Error: '. $result, 'error');  }
    //end of autoFacebook
      }
    else
        {
             
        }    
    Actually in the if else, I don't know if something has to be placed in there when the box isn't checked.

    No database updates needed, but make copies of the three files edited incase you have to go back and use them

    Dan
    Hi Dan,

    I am not sure how you have gotten this to work with the code you have provided, there are many reasons why this doesn't work - too many to list.

    I do have it working 100% correctly, it will add to Facebook when creating a new product from scratch or when updating a product and both methods are configurable in the create/update product page in the admin.

    There is a fair amount to alter to get it to work, but the payoff is totally worth it. No more will you update FB every time you update a product. And now you can select which products to add to FB if you don't want every product added.

    I will put together a post with the details of what to do and will also package it and update the contribution in the downloads area.

    Zen Cart and it's community are the best!!

  8. #358
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by Dawl View Post
    I have the same problem, it's not showing up on FB at all.
    To all that are having this problem, I have had it too and had to revert to the mod in the free downloads instead of the lite version. The version in the downloads does work.

    Zen Cart and it's community are the best!!

  9. #359
    Join Date
    Mar 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Hi, I just attempted to install this addon, and I followed all the instructions that were included, but when I get to step 8, to upload the file and run it, I get this:

    Code:
    Parse error: syntax error, unexpected T_NEW in /homepages/25/d210379780/htdocs/GarterShop/facebook_authorization.php on line 14
    This is lines 10-18 from the facebook_authorization.php page, I don't know if it's needed for me to include it in this post, but I am just incase it needs to be seen.

    Code:
    ini_set('display_errors',1);
    error_reporting(E_ALL|E_STRICT);
    
    if (!function_exists('curl_init')) {
      throw new Exception('Facebook needs the CURL PHP extension.');
    }
    if (!function_exists('json_decode')) {
      throw new Exception('Facebook needs the JSON PHP extension.');
    }

  10. #360
    Join Date
    Mar 2011
    Posts
    12
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Regarding my last message: I found the problem, my PHP needed to be upgraded, so I went ahead and upgraded it and I was able to access the facebook_authorization.php page. Now the problem I am having is, when I submit a new product, it just takes me to a blank white page. It does not list the product to my shop or facebook.

 

 
Page 36 of 70 FirstFirst ... 26343536373846 ... LastLast

Similar Threads

  1. v151 autofacebook help
    By sean g in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 27 Nov 2014, 08:52 PM
  2. AutoFacebook and Canada Post Modules
    By DJLQD in forum General Questions
    Replies: 0
    Last Post: 27 Feb 2013, 02:32 PM
  3. v139h Help please with Autofacebook - Support thread is no longer supported
    By shags38 in forum General Questions
    Replies: 0
    Last Post: 18 Jul 2012, 01:49 PM
  4. Problems with AutoFacebook
    By amanda099 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 31 Aug 2010, 10:12 AM
  5. AutoFacebook OG 1.3.9 addon problems
    By eOstrE in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 7 Jul 2010, 09:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR