Page 4 of 70 FirstFirst ... 234561454 ... LastLast
Results 31 to 40 of 695
  1. #31
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    Well I can't say for sure, as I started zen cart @ 1.3.8, but in theory the code isn't that integrated to the new versions. You might have to find some variable names, but maybe not.

    I wouldnt overwrite the existing update_product.php, instead copy the AutoFacebook code into it.

    pm me the code for the existing file if need be.

  2. #32
    Join Date
    Jan 2007
    Posts
    92
    Plugin Contributions
    2

    Default Re: AutoFacebook [Support]

    Hi Jamie
    I was going to PM you my update_product.php to see if you could see why it is not posting price and description. But you have your PMs on not allowed.
    I added the code below to my update_product.php as it has been modified. Is there anything else I need to add?

    Code:
     
     //AutoFacebook
        $store_name = "My Store"; // store name i.e. "Mary's Car Shop", or "MikesCupcakes.com."
        $store_url = 'http://www.mystore.co.uk'; //path to your store without the trailing "/"
        $cur = '£'; //change to your currency symbol. Assumes symbol come in front of numbers
        $new_message = "New Product!";  // change to whatever or leave the same. i.e "New Cupcake!"
        //your facebook developer app info.
        $appapikey = 'mykey';
        $appsecret = 'mysecret';
        $user_id = 'myid';   //id of your facebook store page
        $infinite_session_key = 'Mysessionkey'; //from facebook app
    // No Need to edit below here.
        $prod_image = $store_url . "/images/" . $_POST['products_image'];
        $price = $products_price;
        $prod_url = $store_url . '/index.php?main_page=product_info&cPath=' . $current_category_id . '&products_id=' . $products_id;
        $prod_name = implode(" ", $_POST['products_name']);
        $prod_description = implode(" ", $_POST['products_description']);
    include_once 'facebook/php/facebook.php';
    $facebook = new Facebook($appapikey, $appsecret);
        $facebook->api_client->user = $user_id;
        $facebook->api_client->session_key = $infinite_session_key;
        $facebook->api_client->expires = 0;
    $attachment = array(
          'name' => $prod_name,
          'href' => $prod_url,
          'caption' => 'Price: '. $cur . $price,
          'description' => $prod_description,
          'media' => array(array('type' => 'image',
                                 'src' => $prod_image,
                                 'href' => $prod_url)));
    $action_links = array(
                          array('text' => $store_name,
                                'href' => $store_url));
    $attachment = json_encode($attachment);
    $action_links = json_encode($action_links);
    $facebook->api_client->stream_publish($new_message, $attachment, $action_links);
    //end of autoFacebook

  3. #33
    Join Date
    Jun 2006
    Location
    My family and I live in Brighton, England
    Posts
    982
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    Well I can't say for sure, as I started zen cart @ 1.3.8, but in theory the code isn't that integrated to the new versions. You might have to find some variable names, but maybe not.

    I wouldnt overwrite the existing update_product.php, instead copy the AutoFacebook code into it.

    pm me the code for the existing file if need be.
    Concerning Zen version 1.3.6: Using Winmerge I merged the two update_product.php. Everything seems to be working fine except that the product image is missing. Any idea what that may be an indication of?

    Thanks

  4. #34
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    @meltdown let me see the code. pm's should be on now.

    Anyway this price issue is baffling me. It works fine on my end everywhere i try it. For those who aren't seeing price, what does it look like on facebook? Are you seeing the dollar sign '$' and then nothing? are you seeing 'Price: ' and then nothing?

  5. #35
    Join Date
    Apr 2010
    Location
    London, UK
    Posts
    38
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    Hi jamielife
    Want to say thanks for the mod.
    Ifigured out the reason mine was posting to both my personal and business pages was because id selected both users and pages in the app settings lol
    As for the price issue, im not getting anything show on facebook other than the image and the model name
    Clever AV Ltd
    http://www.cleveravltd.co.uk
    ZenCart 1.3.9g

  6. #36
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by deathman2006 View Post
    As for the price issue, im not getting anything show on facebook other than the image and the model name
    But is that on purpose?

  7. #37
    Join Date
    Apr 2010
    Location
    London, UK
    Posts
    38
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    No, id like the price too, dont want the description but would like the price
    Clever AV Ltd
    http://www.cleveravltd.co.uk
    ZenCart 1.3.9g

  8. #38
    Join Date
    Sep 2007
    Posts
    48
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Hi Jamie,

    I am trying to install autofacebook.
    I am using 1.39b
    All goes fine until I get to the page where it says Click Here to allow your page all permissions to your app.
    Every time I click this it doesn't go anywhere and stays on that page so I dont get my infinite key and can't complete the install.
    Any ideas what I am doing wrong?

    Cheers
    Paul

  9. #39
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by skipper_2 View Post
    Hi Jamie,

    I am trying to install autofacebook.
    I am using 1.39b
    All goes fine until I get to the page where it says Click Here to allow your page all permissions to your app.
    Every time I click this it doesn't go anywhere and stays on that page so I dont get my infinite key and can't complete the install.
    Any ideas what I am doing wrong?

    Cheers
    Paul
    It might be face book... what happens after you click the 'step 2' link? Ive noticed facebook is going through a lot of problems right now. I kept getting redirected to a black page in recent tests... if i clicked the empty (black) screen it would move forward. If you ever get to look at the facebook forums you'll see that just about every developer is extremely annoyed with facebook right now. They moved to their "open graph" platform without telling anyone (so that we could adjust our scripts) and now everythings breaking right and left. and the worst part is their new API (that was supposed to be a "renewed support for developers" or whatever) is incomplete and totally undocumented. Anyway (make sure you followed the steps in this forum) try again later, and i'll look into it tomorrow or sunday.

  10. #40
    Join Date
    Dec 2009
    Posts
    204
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    First of all, thanks a lot for this great contribution, i'm sure more and more store owners will use it in the future.
    I have just finished installing it and it works great, except 2 little details:
    1. Price is in $. I sell in £. How would i change the currency?
    2. The product description is not showing. I tried your fix as per post 25 with no result. The image, tittle, everything else is working properly. If you would like to see it for yourself, here is the link to the facebook store page:
    http://www.facebook.com/pages/Peterl...8428230?ref=ts

 

 
Page 4 of 70 FirstFirst ... 234561454 ... 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