Page 17 of 70 FirstFirst ... 715161718192767 ... LastLast
Results 161 to 170 of 695
  1. #161
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by countrycharm View Post
    I tried this and it almost works. Here what the description looks like when posting to facebook.


    All In One Media Center
    Price: $275.90
    %3Cp%3E%3Cspan+style%3D%5C%22font-size%3A+small%3B%5C%22%3E%3Cstrong%3E%3Cfont+color%3D%5C%22%23000000%5C%22%3ECol orful+++entertainment+credenza+puts+a+full+function+media+center+anywhere+you+
    hmm... try
    deleting:
    PHP Code:
    $prod_description urlencode($prod_description); 
    and adding:
    PHP Code:
    settype($prod_description "string"); 
    in it's place

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

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    hmm... try
    deleting:
    PHP Code:
    $prod_description urlencode($prod_description); 
    and adding:
    PHP Code:
    settype($prod_description "string"); 
    in it's place
    Back to the same place I was before.

    The Good Shepherd Store Has a new product available!

    6 Piece Nonstick Cookware Set

    Price: $24.65
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  3. #163
    Join Date
    Oct 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    You can do this, but you don't have to as you've already allowed your app to access all your pages.

    You could just take the individual page's number (which will be in your browser's address bar when you navigate to the facebook page):



    and fill it in for line 96 where you see:

    PHP Code:
    $page_id "Your page ID"
    I'm not talking about the User Access Token - have you tested through your method to insure that it works as you prescribe?

    According to my post in this thread (post #147) when I tested using your prescribed method FB gives back an error code of 200

    As I stated in my post here in this thread (post #149) according to FB Developers Wiki error 200 is a permission error.

    So yes you have the User Access Token that allows posting through the admin privileges granted for that fan page but by not changing the page access token that is different for each page, to the specific access token for that page FB will not allow access by the script.

    what you will see in the page access token is the following

    Application Number|user ID and User Access Token|Fan Page ID|Fan Page Access Token
    the Application Number, User ID and User Access Token remains the same but the Page ID and Page Access Token are what changes from fan page to fan page.

    Think about it, it is a extra level of security to help insure fraudulent access and posting onto face book does not occur

    {
    "name": "Bugs Bunny Frontier",
    "category": "Websites",
    "id": "29469045921",
    "access_token": "some secret string."

    "name": "Daffy Duck Play Pen",
    "category": "Websites",
    "id": "15326801473",
    "access_token": "some secret string."

    "name": "Mother Goose Brothel",
    "category": "Websites",
    "id": "19785012358",
    "access_token": "some secret string."
    },
    The above information is what is gleamed from FB by using the procedure I have outlined earlier.

    So by simple changing the page ID without changing the page access token that matches produces an FB error code of 200 (Permission Denied) when the update_product.php is called when adding a new product to the zen cart.

    When the facebook authorization runs for the first time, FB will look at what session was last used and stored in the cookie session on the users computer to determine which page ID and associated page access token to authorize. Which for those such as myself that mange several pages my not be the one that we want the cart to post to.

    I'm not a programmer but I am one hell of a researcher.

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

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by countrycharm View Post
    I tried this and it almost works. Here what the description looks like when posting to facebook.


    All In One Media Center
    Price: $275.90
    %3Cp%3E%3Cspan+style%3D%5C%22font-size%3A+small%3B%5C%22%3E%3Cstrong%3E%3Cfont+color%3D%5C%22%23000000%5C%22%3ECol orful+++entertainment+credenza+puts+a+full+function+media+center+anywhere+you+


    Wait a minute, why is there HTML/CSS in your product description? Are you using a WYSIWYG editor or hand coding HTML in your descriptions or something like that? What other mods have you installed to your Zen-Cart?

    I'm willing to bet that's the problem.

  5. #165
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    So instead of:
    PHP Code:
    $prod_description urlencode($prod_description); 
    Try:
    PHP Code:
    $prod_description strip_tags($prod_description); 

  6. #166
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    Wait a minute, why is there HTML/CSS in your product description? Are you using a WYSIWYG editor or hand coding HTML in your descriptions or something like that? What other mods have you installed to your Zen-Cart?

    I'm willing to bet that's the problem.
    I'm using editor__fckeditor_plugin_2-6-4-1 for my editor.
    Here are a list of add ons I have installed.

    captcha_using_ttf__gd__tel
    ceon_back_in_stock2.6.0
    ceon_uri_mapping_3.8.0_for_zc
    css_flyout_menu_1-3-8a
    email_archive_manager_1-4
    footer_menu_v1-0
    google base 1-8-2
    image_handler__for_vx_Ver2-0rev7
    links_manager_v3-5-3a
    msrp_display_1-2
    recover_cart_sales_3-1-0
    return_authorization_v2-3-3a
    rss_feed_2-1-4
    simple_google_analytics_1-2-2(2)
    sitemapxml__formerly_google_sitemap_2-1-0
    1.7 Lightbox
    about_us_page_1-3-1
    css_javascript_loader
    easypopulate
    email_address_exporter_1-2c
    email_archive_manager_1-4
    emptycart_manager_1-2
    faq_page_v1-0
    jscroller_sidebox_package_2-1
    login_box_1-5
    minimum_order_1-0-1a
    newsletter_subscribe_2-2
    quantity_discounts_1-11
    quick_configuration_edit_for_x_1-0-1
    recover_cart_sales_3-1-0
    return_authorization_v2-3-3a
    rss_feed_2-1-4
    search_log_2-0
    testimonial_manager_v1-5-2
    ty_package_tracker_for_x_2-3a
    sitemapxml__formerly_google_sitemap_2-1-0

    I think this is all.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  7. #167
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    So instead of:
    PHP Code:
    $prod_description urlencode($prod_description); 
    Try:
    PHP Code:
    $prod_description strip_tags($prod_description); 
    I will test this tomorrow and let you know.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  8. #168
    Join Date
    Dec 2009
    Location
    Richmond, VA
    Posts
    160
    Plugin Contributions
    3

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by WHOSYOURDADDY View Post
    I'm not talking about the User Access Token - have you tested through your method to insure that it works as you prescribe?
    You are right, I was thinking about the authentication process for autoFacebook1. I'm starting to think I manage too many mods to keep track of em all.

    I've got a fix for this developed that lets you select your page from a drop down which will be available in the next version.

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

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    So instead of:
    PHP Code:
    $prod_description urlencode($prod_description); 
    Try:
    PHP Code:
    $prod_description strip_tags($prod_description); 
    Jamielift you nailed it. This code works great. The description is now sent to facebook.

    Thank you for your on going effort to solve this problem. Does autoTwitter suppose to send the description to, if it is I have the same problem there. You can post you answer over there if you will. Thank You again.
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  10. #170
    Join Date
    Oct 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by jamielife View Post
    You are right, I was thinking about the authentication process for autoFacebook1. I'm starting to think I manage too many mods to keep track of em all.

    I've got a fix for this developed that lets you select your page from a drop down which will be available in the next version.
    LOL it happens to the best of us - I'm just glad I was able add something positive to this thread

    I have programmer friend that uses me as his beta tester for work he does - If there is a bug I will find it LMAO

    It really is a great mod with a lot future development possibilities!

    Now to start working on what you and countrycharm just went through on posting descriptions!!!

 

 
Page 17 of 70 FirstFirst ... 715161718192767 ... 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