Page 46 of 70 FirstFirst ... 36444546474856 ... LastLast
Results 451 to 460 of 695
  1. #451
    Join Date
    Dec 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Ok i have been doing a little digging and i think i can see the problem.

    I can see /admin/includes/modules/ but there is no update_product.php file there.

    I have looked else where in my directory but cannot see this file anywhere.

    Would it be better if i just re installed the application from scratch?

    Im not sure how to do it but i can see that there are instructions so should in theory be straight forward.

    Would i need to delete the facebook authorization.php file first or any other files before i do a clean install?

  2. #452
    Join Date
    Dec 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Anyone ?

  3. #453
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by frankyboy View Post
    Ok i have been doing a little digging and i think i can see the problem.

    I can see /admin/includes/modules/ but there is no update_product.php file there.

    I have looked else where in my directory but cannot see this file anywhere.

    Would it be better if i just re installed the application from scratch?

    Im not sure how to do it but i can see that there are instructions so should in theory be straight forward.

    Would i need to delete the facebook authorization.php file first or any other files before i do a clean install?
    If you downloaded the AutoFacebook moduole and open the file you will see admin/includes/modules/update_product.php file and a file named Facebook. The update_product.php file is located already in your stores admin folder or a custom folder you change it to for security reason. It should look like this Custom name folder/includes/modules/update_product.php. If you have made changes to that file at all you need to open the file and add the Facebook code to that file. That will be it. If you haven't made any changes just upload that file to custom_folder/includes/modules/update_product.php
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  4. #454
    Join Date
    Jul 2011
    Location
    Glasgow, Scotland
    Posts
    113
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by frankyboy View Post
    Anyone ?
    In the file update_product.php you should be looking for the lines of cade that look like this. in a clean file without any mods this is round about line 103 to 108 the space is at line 105 and 106.

    ///////////////////////////////////////////////////////
    //// INSERT PRODUCT-TYPE-SPECIFIC *UPDATES* HERE //////


    //// *END OF PRODUCT-TYPE-SPECIFIC UPDATES* ////////
    ///////////////////////////////////////////////////////
    Add the facebook update code in the space between the first and second lot of ///

    That code should look like this (or similar) I have changed my entries to something generic (naturally)

    //AutoFacebook
    $app_id = "111111111111111"; //given when you created app
    $app_secret = "a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1"; //given when you created app
    $page_id = "222222222222222"; //obtained from running facebook_authorization.php from your browser
    $page_token = "ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4a b3cd4ab3cd4ab3cd4ab3cd4ab3cd4ab3cd4"; //long number obtained from facebook_authorization.php
    $store_name = "BillyBoyle"; // store name i.e. "Mary's Car Shop", or "MikesCupcakes.com."
    $store_url = 'http://your-shop.co.uk'; //path to your store without the trailing "/"
    $cur = '£'; //change to your currency symbol. Assumes symbol comes in front of numbers
    $new_message = "Your Message in a bottle!"; // change to whatever or leave the same. i.e "New Cupcake!"

    // No Need to edit below here.
    $prod_image = $store_url . "/images/" . $_POST['products_image'];
    $prod_url = $store_url . '/index.php?main_page=product_info&cPath=' . $current_category_id . '&products_id=' . $products_id;
    $prod_name = $_POST['products_name'][$_SESSION['languages_id']];
    $products_description = strip_tags($products_description);
    // $products_description = $_POST['products_description'][$_SESSION['languages_id']];
    // $products_description = implode(" ", $_POST['products_description']);
    $vat = .20;
    $price = (number_format(( $products_price + $products_price * $vat), 2, '.', ''));

    include_once 'facebook/facebook.php';

    $facebook = new Facebook(array(
    'appId' => $app_id,
    'secret' => $app_secret,
    'cookie' => true, ));

    $attachment = array(
    'access_token' => $page_token,
    'message' => $new_message,
    'name' => $prod_name,
    'link' => $prod_url,
    'description' => $products_description,
    'picture' => $prod_image,
    'caption' => 'For only: '.$cur . $price,
    );

    try {
    $status = $facebook->api($page_id.'/feed', 'post', $attachment);
    $messageStack->add_session('Facebook was successfully updated!', 'success');
    }
    catch (FacebookApiException $fbe){
    $fberror = $fbe->result['error']['message'];
    $messageStack->add_session('Facebook Error: '.$fberror, 'error');
    }
    //end of autoFacebook

    //
    Hope this helps you frankyboy
    Last edited by BillyBoyle; 18 Jan 2012 at 09:58 AM. Reason: Spelling

  5. #455
    Join Date
    Jul 2011
    Location
    Glasgow, Scotland
    Posts
    113
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by frankyboy View Post
    Anyone ?
    Also if you don't see update_product.php in the file structure after you downloaded from your server, it may be that you have not downloaded all files.
    This can happen sometimes (power or data can get curupt in the ftp transfer) just use Filezila to download the folder you need again, or just surf the folder tree and download the file only from your server.

    Just remember to put it back exactly where you got it from.

    Billy.

  6. #456
    Join Date
    Jul 2011
    Location
    Glasgow, Scotland
    Posts
    113
    Plugin Contributions
    1

    Default Re: AutoFacebook [Support]

    Oh! one other thing I've just remembered...

    I think you need to install OAuth authentication from the autoTweet 3.0 module to get it to work with Fb's new set up. Might be wrong.

    5 or 6 months since I installed the mod but, I may be remembering wrongly. I am sure I had to install both mods to get it to work for me. Don't need to use autoTweet, just need the OAuth authentication for processing.

    Mind you it wouldn't hurt to have both anyway if you use Twitter.

    Billy

  7. #457
    Join Date
    Dec 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Ok I have spent the last few weeks on this and to say I am a little hacked off would be an under statement.

    I would like to know if there is either an idiots guide to uninstalling the autofacebook from my site so that I can attempt to upload it from scratch.

    I really do need to get this working and having now been through every file TWICE in my admin folder I can safely say that the update_products.php file is nowhere to be found which means I cannot update the token to allow the bloody thing to work.

    Anyone please?

    Just a quick question, i have downloaded the autofacebook from this website and i can see the file i need so would it be possible to just upload that single file into /admin/includes/modules/ ?

    If so what would i need to enter into this file to get it to work?

    One last thing how would i upload the file using filezilla?
    Last edited by frankyboy; 25 Jan 2012 at 07:52 AM.

  8. #458
    Join Date
    Dec 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    I was wondering if anyone can tell me how i go about deleting or uninstalling this mod please.

    I have filezilla on my p.c and was wondering do i just delete the files from there?

    Thanks in advance

  9. #459
    Join Date
    Dec 2011
    Posts
    20
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Is there anybody at all on here that can tell me how to uninstall the autofacebook please.

    I would like to try a new install but not sure if i can install over the current files that are already in my folders?

    Anyone

  10. #460
    Join Date
    Mar 2009
    Location
    Crockett, Texas
    Posts
    139
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Hi...I installed this module and went through all the configuring and was able to get this module working beautifully right to my page (as I have many) and then out of nowhere I started getting this warning:

    Facebook Error: Error validating access token: The session has been invalidated because the user has changed the password.

    Is there a simple fix or do I need to go back through the process again? I think this is because FaceBook doesn't know how to leave FaceBook alone. LOL.

    Thank you in advance.

 

 
Page 46 of 70 FirstFirst ... 36444546474856 ... 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