Page 47 of 70 FirstFirst ... 37454647484957 ... LastLast
Results 461 to 470 of 695
  1. #461
    Join Date
    Jan 2012
    Posts
    14
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    got this error when trying to run the facebook_authorization.php in FireFox.

    "Fatal error: Uncaught OAuthException: Error validating application. thrown in /home6/indyappa/public_html/facebook/facebook_authorization.php on line 532"

    i've got multiple pages.

    thanks.

  2. #462
    Join Date
    May 2006
    Posts
    26
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by RJugalbot View Post
    got this error when trying to run the facebook_authorization.php in FireFox.

    "Fatal error: Uncaught OAuthException: Error validating application. thrown in /home6/indyappa/public_html/facebook/facebook_authorization.php on line 532"

    i've got multiple pages.

    thanks.
    I am getting this error as well
    Fatal error: Uncaught OAuthException: Error validating application. thrown in /home/djdepot/public_html/facebook/facebook_authorization.php on line 532

  3. #463
    Join Date
    Feb 2012
    Posts
    9
    Plugin Contributions
    0

    red flag Re: AutoFacebook [Support]

    I am currently running Zencart v1.5.0 and i am trying to get the AutoFacebook to work, but i think it hates me. Ok i followed the steps in the readme file for the facebook mod, but im getting a error message. Some of the steps given in the file do not exist in the New Facebook Developers page. The other issue im having trying to run the facebook_authorization.php file is that i get a
    Code:
    Strict Standards: Unknown: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in Unknown on line 0 Fatal error: Uncaught OAuthException: Error validating application. thrown in facebook/facebook_authorization.php on line 532
    I need some help getting this install successfully please, i am not even sure if i got the facebook developer side setup properly below is the screenshot. Please Help


  4. #464
    Join Date
    Oct 2011
    Posts
    7
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Trying to install the Light version. Cannot get passed Please Select Page on the facebook storeupdater. I have a page created from my main account, but it can not see it. Even tried to create a new one just for the sake of it, and still, storeupdater will not see it..

    I saw that some people has the same issues, but mostly people with no existing page.

    Please, someone help!!

  5. #465
    Join Date
    Mar 2012
    Posts
    1
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    same problems... please somebody post a solution

  6. #466
    Join Date
    Apr 2009
    Posts
    155
    Plugin Contributions
    1

    Default AutoFacebook Fix

    Please try the following as your new facebook_authorization.php file and let me know how it goes. :)

    PHP Code:
    <?php
    /**
     * facebook_authorization.php
     *
     * @Toni's AutoFacebook Fix
     * @copyright Copyright 2003-2012 Zen Cart Development Team
     * @copyright Portions Copyright Facebook
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: facebook_authorization.php Toni Scraparoni 2012-03-30 $
     */


    //edit with your info
    $app_id '1234567890987654321'//given when you created app
    $app_secret 'abcdefghijklmnopqrstuvwxyz12345'//given when you created app
    $app_location 'http://your-website.com/facebook/facebook_authorization.php'//full url to location of this file

    /////////////////////////////////////////////////////////////////////
    // Don't Edit Below This Line
    /////////////////////////////////////////////////////////////////////

    // get app access token
    $app_url 'https://graph.facebook.com/oauth/access_token'
    $params = array('grant_type' => 'client_credentials'
                    
    'client_id' => $app_id
                    
    'client_secret' =>  $app_secret);

      
    $ch curl_init();  
      
    curl_setopt($chCURLOPT_URL$app_url); 
      
    curl_setopt($chCURLOPT_HEADERfalse); 
      
    curl_setopt($chCURLOPT_RETURNTRANSFERtrue); 
      
    curl_setopt($chCURLOPT_POSTtrue); 
      
    curl_setopt($chCURLOPT_POSTFIELDS$params); 
      
    $at_result curl_exec($ch); 
      
    curl_close($ch);
        
    $at_result explode("="$at_result);
    $access_token $at_result[1];


    // get user access token
    // removed offline access per FB note about deprecating this in May 2012
    $scope "read_stream,publish_stream,manage_pages";
    if (!isset(
    $_GET["code"])){
    header("location: https://graph.facebook.com/oauth/authorize?client_id=".$app_id."&redirect_uri=".$app_location."&scope=".$scope);
    }
    elseif (!isset(
    $_GET["access_token"])){
    $code $_GET["code"];
    $url "https://graph.facebook.com/oauth/access_token?client_id=".$app_id."&redirect_uri=".$app_location."&client_secret=".$app_secret."&code=".$code;

    $ch curl_init();
    curl_setopt($chCURLOPT_URL$url);
    curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
    $ua_result curl_exec($ch);
    curl_close($ch);
    $ua_result explode("="$ua_result);
    $ua_token $ua_result[1];
    $append '&expires';
    $alength strlen($append);
    $apos strrpos($ua_token'&expires');
    $replace "";
    $uaccess_token substr_replace($ua_token$replace$apos$alength);
    }

        
    // get page ID
    $page_url 'https://graph.facebook.com/me?access_token='.$uaccess_token;
        
      
    $ch curl_init(); 
      
    curl_setopt($chCURLOPT_URL$page_url); 
      
    curl_setopt($chCURLOPT_HEADERfalse); 
      
    curl_setopt($chCURLOPT_RETURNTRANSFERtrue);
      
    $page_result curl_exec($ch); 
      
    curl_close($ch);
        
    $page_result explode('"'$page_result);
        
    $page_id $page_result[3];

    echo 
    "<h1 style='color: #009900'>Success!</h1><br /><br />
    <span style='padding-right: 20px;'>Your Application access token is: </span>
    <span style='color: #009900; font-weight: bold'>"
    $access_token."</span><br /><br /><br /><br />
    <span style='padding-right: 20px;'>Your User access token is: </span>
    <span style='color: #009900; font-weight: bold'>"
    $uaccess_token."</span><br /><br /><br /><br />
    <span style='padding-right: 20px;'>Your Page ID is: </span>
    <span style='color: #009900; font-weight: bold'>"
    $page_id."</span><br /><br /><br /><br /><br /><br />";
    echo 
    "You will only need two out of the three above:  Page ID, and your choice of the Application access token <b><u>or</u></b> the User access token.<br /><br /><br />If I understood correctly, user access tokens will expire at some point, while application access does not.  There seem to be other differences as well, so I thought it best to provide both and let you choose.<br /><br /><br />Copy and paste your code into the designated spots in admin/includes/modules/update_product.php.<br />
    <br /><br />Remember to delete this file from your server when you are finished.  You can always upload and run it again if you need to obtain the data or make any changes.<br /><br /><br />
    <em>Note: if you see a period (or any other punctuation) at the end of your access tokens, please copy and paste that as well, as it is part of the token.  If it's in green, it goes with you.  :)</em>"
    ;
    ?>
    [FONT="Verdana"]If you want something done right, you have to get Zenned.
    ♥~-My Zen Cart Mods-~♥[/FONT]

  7. #467
    Join Date
    Mar 2012
    Posts
    13
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by caprimia View Post
    Trying to install the Light version. Cannot get passed Please Select Page on the facebook storeupdater. I have a page created from my main account, but it can not see it. Even tried to create a new one just for the sake of it, and still, storeupdater will not see it..
    !
    I also have this problem and need a fix, if anyone can help it would be great.

  8. #468

    Default Re: AutoFacebook [Support]

    I've set up everything for the AutoFacebook and everything works fine, new products showing up on our store page and and all the people who like it see the new products too. BUT there is no share or reshare button for the product in either place. What's going wrong?
    Beau

  9. #469
    Join Date
    Jul 2009
    Posts
    122
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by Beau91324 View Post
    BUT there is no share or reshare button for the product in either place. What's going wrong?
    Not that I use this version of the Auto Facebook mod as I use another version but I am sure this mod does not incorporate the share buttons on your product pages. You need to use a separate mod to accomplish this.

    Now you can use this mod here:

    http://www.zen-cart.com/index.php?ma...oducts_id=2026

    But if you don't use meta tags in your descriptions then your cache folder is going to fill up with error logs pretty fast as there is a bug with the Facebook part of that module.

    So to over come that issue I basically removed all references of the Facebook module from that mod and then used the following code in my tpl_product_info_display.php where I wanted the Facebook button to appear. Or you can just use the following code on it's own if you don't want to add the Google +1 and Twitter modules to your product pages.

    Code:
    <!-- bof Facebook like button to render -->
    
    <iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(zen_href_link(zen_get_info_page((int)$_GET['products_id']),'cPath='.(int)$_GET['cPath'].'&products_id=' . (int)$_GET['products_id'])); ?>&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:550px; height:85px;"></iframe>
    
    <!-- eof Facebook like button to render -->

  10. #470
    Join Date
    Jan 2012
    Location
    New England
    Posts
    238
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    I finally got this mod working, but it posted to my personal page, not my shop page! I have 4 fan pages, and I tried to follow the instructions at http://www.zen-cart.com/showthread.p...180#post934180 but I can't figure out what the url is that I'm supposed to put in at uri=~URL~ ...nothing I've tried works. Help?

    I can't just go to my fan page and look at the number, because I named my fan page and so the number no longer shows up. The fan page is just http://www.facebook.com/OpalEssenceShop

    Help?

    Btw, I moved the AutoTweet3 to the bottom of the page so it shows up when I modify products... but I can't move the FB stuff there without getting errors. Help? And I want to put in those on/off checkboxes... but when I tried that I got errors, too...

 

 
Page 47 of 70 FirstFirst ... 37454647484957 ... 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