Page 19 of 70 FirstFirst ... 917181920212969 ... LastLast
Results 181 to 190 of 695
  1. #181
    Join Date
    Jul 2007
    Posts
    2,169
    Plugin Contributions
    16

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by WHOSYOURDADDY View Post
    Maybe I can help you.
    You have your application created so the hard part is done. Yea Right whatever you say buddy LOL Actually it is


    My first suggestion don't make it any harder than necessary - Yea easy for you to say buddy LMAO

    Starting with the web site profile what you see is at the top is the application ID and the application secret then directly below is site URL and Site domain

    this is simple in site URL copy and paste the URL that you see in your browser when you go to your zen cart

    example: http://www.yoursite.com or http://www.yoursite.com/cart/ that is it nothing more nothing less

    next site domain this is the name of your domain
    example yoursite.com that is it no http no www just the name of your domain

    Sweet your now done with web site tab - moving on to the next tab this is even more simple since the hard part has already been taken care of in the web site tab.

    Facebook Integration Tab the only thing you do and I repeat and stress the only thing you do is go to the very bottom where it says "Installable to" and uncheck the user and check facebook page

    Thats it your done now click save changes

    Wow pretty cool right you just did your first app!!!

    Yes then add it becuase you need to make sure you have admin privileges to post to your page

    Now go back to your editor and make sure that you have the update_product.php with all the correct information as outlined by Jamielife

    Save that and upload to your server.

    Setup a test cat and create a test product and attach an image to the product.

    When you add the new product what happens is the zen cart calls the update_product.php the new autofacebook code talks to the facebook application and says hey buddy how you doing - the FB application says sweet I know you what you got for me - zen cart then instructs the application to post this new information to the page that has been authorized to accept it.

    If everything went well then you will see the New Product posted to your page!!

    Hope this helps this helps you out - if not I just confused the heck out of you LOL
    Good post. I was going there next. You got there before me
    Is your site Upgraded to the current version 1.5.4 Yet?
    zencart-upgrades-website-installation

  2. #182
    Join Date
    Oct 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by countrycharm View Post
    Good post. I was going there next. You got there before me
    LMAO I'm working on my post count so i can be totally zenned just like you -

  3. #183
    Join Date
    Sep 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Thank you for the detailed reply. Ive double and treble checked all this info.

    It has worked which is a good thing.

    The bad thing is its worked on the wrong page. Its worked on another fanpage I admin. Ive now removed myself as an admin to that particular page and then posted up a new product and it has stopped adding to that page.

    Only thing now is it wont add to any other page.

    Is there something else I am doing wrong? I went to the applications page and clicked "add to my pages" and slected one page but nothing posts on it.

    Help much appreciated.

    Jay.

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

    Default Re: AutoFacebook [Support]

    Each page has to be independently authorized. Here are detailed instructions for those adding a different page (thanks to whosyourdaddy)

    Quote Originally Posted by WHOSYOURDADDY View Post
    ***IMPORTANT UPDATE FOR THOSE WHO MANAGE SEVERAL FACEBOOK PAGES***

    Like most I have been scratching my head on how to get this app from Jamielife (Thanks Jamielife) to post new products in our zen cart to the proper Fan Page/Business Page.

    Each fan page has its own page id and access token. The easy part was getting the page ID the hard part was figuring out how to get the the access token for the specific page.

    After you have gone through the initial steps outlined by Jamielife to get the app authorized the next steps will allow you to have this app post to the page of your choosing.

    Here is the solution.:

    1. Run this link in your Browser. Please replace ~URL~ with your connect URL (Facebook Application dialog) and ~APPID~ with your application ID


    You will need to add https// to the following links

    graph.facebook.com/oauth/authorize?type=user_agent&client_id=~APPID~&redirect_uri=~URL~&scope=publish_str eam,offline_access,manage_pages





    If done correctly you get your zen cart with the URL Parameter Access Token

    2. This URL will return to you a URL parameter access_token.
    3. Save the token somewhere;
    4. Load This URL. Replace ~TOKEN~ with the token received from Facebook at point 2.

    graph.facebook.com/me/accounts?access_token=~TOKEN~



    5. As a result you will get the json with all your pages and all access tokens. Save them somewhere;

    Once you have this data it is simple going into the update_product.php at lines 88-92 and change them according to the information associated with the specific page that you want to mod to post to.

    Test to make sure it works

    I have tested it on 1.3.9f with the latest version of Jamielife's mod with success

    Good Luck
    That should fix it

  5. #185
    Join Date
    Sep 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Its the connect URL my website where my shop is and do i need to include http://

    If so then this is the error I got...

    {
    "error": {
    "type": "OAuthException",
    "message": "redirect_uri isn't an absolute URI. Check RFC 3986."
    }
    }

    The APPID I am assuming is my application ID?

  6. #186
    Join Date
    Oct 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by confusedforever View Post
    Its the connect URL my website where my shop is and do i need to include http://

    If so then this is the error I got...

    {
    "error": {
    "type": "OAuthException",
    "message": "redirect_uri isn't an absolute URI. Check RFC 3986."
    }
    }

    The APPID I am assuming is my application ID?
    This is what your URL will look like

    remember to add https:// to the beginning

    graph.facebook.com/oauth/authorize?type=user_agent&client_id=Your FB App ID&redirect_uri=http://Your Site Path&scope=publish_stream,offline_access,manage_pages
    Your FB App ID is the FB Application ID
    Your site path is what you defined in your FB application under the Web Site Profile. http://www.yoursite.com or http://www.yoursite.com/cart/

    If you have done it correctly when you activate that in your browser it will take you to your zen cart.

    Look back into your browser address bar and copy and paste the entire string that you see (to be saved locally on your computer)

    what you will see is something like this.

    there will be an http://www. at the beginning

    yoursite.com/#access_token=some very long number and letter&expires_in=0
    copy and paste everything between the access_token= and the &expires
    this is called your URL parameter access_token - this is the big bad boy that will gleam the rest of the information that you need to tell FB what page for zen cart to access and post the new products to.

    Next step take that very long string that you just copy and pasted locally and insert it into the following URL

    add https:// to the beginning of the string

    graph.facebook.com/me/accounts?access_token=Your URL parameter access token
    activate the string in your browser
    if you have done it correctly what is then gleamed is all the fan pages that you manage, along with the page ID and Page Access token for each fan page managed

    {
    "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."
    },
    copy and paste this locally for future reference

    Now you have the Page ID and the Associated Access Token for that page

    Go back to your editor in the update_product.php

    replace the Page ID with the one that matches the page you want zen cart to post to.

    then replace the Page Access Token on the line directly below with the one that matches the Page ID you put in the line above.

    Save and upload to your server then test - if all went well it will now be posting the page of your choosing.

    Jamielife will be adding a drop down option on his next release that will make it simpler in the future to pick which page for zen cart to post to - this is only a temporary procedure for the release that is currently out for us.
    Last edited by WHOSYOURDADDY; 16 Sep 2010 at 07:23 PM.

  7. #187
    Join Date
    Oct 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    One thing I meant to say is that it is easier to make those URL changes while in your editor like notebook and then copy and paste into your web browser address bar then click to activate that string

  8. #188
    Join Date
    Sep 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Thank you for your idiot guide. Was perfect. Its worked now.

    New problems...

    The £ doesnt show up and also, the most important thing for me, it doesnt post the music items but does do the normal items.

    Any help?

  9. #189
    Join Date
    Oct 2009
    Posts
    50
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    Quote Originally Posted by confusedforever View Post
    Thank you for your idiot guide. Was perfect. Its worked now.

    New problems...

    The £ doesnt show up and also, the most important thing for me, it doesnt post the music items but does do the normal items.

    Any help?
    I'm glad I was able to help but I'm going to half to take my Que from a Holiday Inn Express commercial - I'm not a real programmer I just play one on TV and let a real programmer step in and help you from here on out!

    Good Luck!!

  10. #190
    Join Date
    Sep 2010
    Posts
    10
    Plugin Contributions
    0

    Default Re: AutoFacebook [Support]

    No problem Mr DADDY! You have been a big help. I think I may just have to give up and delete it as I need to get on with the rest of the website and this is holding things up.

    Its a very useful module and I am glad I found it, just seems like its no good for this project

 

 
Page 19 of 70 FirstFirst ... 917181920212969 ... 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