Announcement

Collapse
No announcement yet.

Easily integrate your Miva Merchant into Facebook

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Re: Easily integrate your Miva Merchant into Facebook

    You cannot put it that high. The highest it can go is right below the "info". At the bottom of the nav menu links is "edit". Click it. Then hold the mouse down over the link you want to move and just drag it up and drop it.
    Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
    Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
    Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
    Facebook http://www.facebook.com/EmporiumPlus
    Twitter http://twitter.com/emporiumplus

    Comment


      #32
      Re: Easily integrate your Miva Merchant into Facebook

      Thanks Bill: That worked.
      I now crown you "Super Fantastic Facebook Guru"
      Regards, Larry
      Larry
      Luce Kanun Web Design
      www.facebook.com/wajake41
      www.plus.google.com/116415026668025242914/posts?hl=en


      Comment


        #33
        Re: Easily integrate your Miva Merchant into Facebook

        Hello Bill: I'm setting up our second app in FB for one of our other sites and have run into a snag that possibly you can shed some light on. I've found that the miva2fb.php program will not execute unless these 2 statements are commented:
        require 'facebook.php';
        and
        $signed_request = $facebook->getSignedRequest();

        This is only in the second FB app I'm building. These statements are enabled in my first FB app where they cause no problem.

        Very puzzling.
        Larry
        Larry
        Luce Kanun Web Design
        www.facebook.com/wajake41
        www.plus.google.com/116415026668025242914/posts?hl=en


        Comment


          #34
          Re: Easily integrate your Miva Merchant into Facebook

          Those are required. If it is not working in the second store it may be that you do not have PHP version 5x.
          Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
          Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
          Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
          Facebook http://www.facebook.com/EmporiumPlus
          Twitter http://twitter.com/emporiumplus

          Comment


            #35
            Re: Easily integrate your Miva Merchant into Facebook

            Hi Bill: I can't explain it, but my second FB app runs OK without those 2 statements. However i still worry that it may cause some problem somewhere.
            You can see our second FB app at
            http://www.facebook.com/apps/applica...19165054830792

            We've tested it here on our machines and all seems OK. If you have the time, take a look at it and let me know of any problem(s) you see,
            (Any chance for a Like Us when you do that?)

            On another subject: While building this second FB app, I found that in your example code for the CTGYFB page, the code references;
            <div class="product-detail">
            While my standard Miva CSSUI file has a definition for:
            "product-details" (note the "s")
            Using <div class="product-details"> in the CTGYFB page seemed to solve my horizontal scroll bar problem.

            Thanks again for providing your FB app tutorial and solution, Larry
            Larry
            Luce Kanun Web Design
            www.facebook.com/wajake41
            www.plus.google.com/116415026668025242914/posts?hl=en


            Comment


              #36
              Re: Easily integrate your Miva Merchant into Facebook

              Without those lines the fangate will not be working. That tells your app whether they have liked the page or not. You need to see what version of php is on your server. If it is not 5x, the fangate coding will not work. It has to use the facebook.php and do the authorization.

              Good catch on the typo. Weird since I copied that code directly from one of the generated templates. I'll have to go back and see if I can find the origin. In the meantime, I'll update the how to. Thanks.
              Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
              Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
              Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
              Facebook http://www.facebook.com/EmporiumPlus
              Twitter http://twitter.com/emporiumplus

              Comment


                #37
                Re: Easily integrate your Miva Merchant into Facebook

                Originally posted by wcw View Post
                Without those lines the fangate will not be working. That tells your app whether they have liked the page or not. You need to see what version of php is on your server. If it is not 5x, the fangate coding will not work. It has to use the facebook.php and do the authorization.
                Bill, does your code require php version 5.3? We have two customers who are not on 5.3 that have reported it as not working. I would strongly recommend not coding specific to version 5.3 as that is far from being in widespread use at hosts yet due to the fact that it only became included in linux distributions popular with hosts a few months ago. It would be six months or more before it starts to show up more frequently.
                David Hubbard
                CIO
                Miva
                [email protected]
                http://www.miva.com

                Comment


                  #38
                  Re: Easily integrate your Miva Merchant into Facebook

                  That is not my code. The facebook.php is the standard php sdk that Facebook needs to verify the visitor is a "fan". From that you can fangate the content. I made no changes to that file. It is downloaded directly from Facebook. Hyperarts was the site with the how to that said they found PHP 5x was needed. As you recall, I had 4x and it did not work. As soon as you put 5.3.6 on my site, it worked perfectly. I've been working with one of those stores you mentioned and that is the only thing left that we could think of. He has a 5.1 version. So there is no way to tell if that is the issue until he is updated to 5.3.6. It also will not tell us if there is some lower version in between that will work. Maybe 5.2 would work. Don't know. But we need to see if that is his issue.
                  Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
                  Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
                  Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
                  Facebook http://www.facebook.com/EmporiumPlus
                  Twitter http://twitter.com/emporiumplus

                  Comment


                    #39
                    Re: Easily integrate your Miva Merchant into Facebook

                    Hellp Bill & David: I'm pretty sure that the problem I'm having is with the version of PHP that is installed on our server. Thank you Bill for tipping me off to that!
                    I've also found that the array definition in the miva2fb.php program does not work with our PHP version. I've had to change this array definition:
                    $facebook = new Facebook(array(
                    'appId' => '168414289883725',
                    'secret' => '0adcdeb6729ff3202ee290b4d886b0cf',
                    'cookie' => true,
                    ));
                    to this:
                    $facebook = array(
                    'appId' => '168414289883725',
                    'secret' => '0adcdeb6729ff3202ee290b4d886b0cf',
                    'cookie' => true,
                    );
                    to get our miva2fb.php program to execute without failing.

                    Regards, Larry
                    Larry
                    Luce Kanun Web Design
                    www.facebook.com/wajake41
                    www.plus.google.com/116415026668025242914/posts?hl=en


                    Comment


                      #40
                      Re: Easily integrate your Miva Merchant into Facebook

                      What version of PHP do you have?

                      You are not going to get the fangating if you do it like you have it.
                      Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
                      Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
                      Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
                      Facebook http://www.facebook.com/EmporiumPlus
                      Twitter http://twitter.com/emporiumplus

                      Comment


                        #41
                        Re: Easily integrate your Miva Merchant into Facebook

                        Originally posted by wajake41 View Post
                        Hellp Bill & David: I'm pretty sure that the problem I'm having is with the version of PHP that is installed on our server. Thank you Bill for tipping me off to that!
                        I've also found that the array definition in the miva2fb.php program does not work with our PHP version. I've had to change this array definition:
                        $facebook = new Facebook(array(
                        'appId' => '168414289883725',
                        'secret' => '0adcdeb6729ff3202ee290b4d886b0cf',
                        'cookie' => true,
                        ));
                        to this:
                        $facebook = array(
                        'appId' => '168414289883725',
                        'secret' => '0adcdeb6729ff3202ee290b4d886b0cf',
                        'cookie' => true,
                        );
                        to get our miva2fb.php program to execute without failing.

                        Regards, Larry
                        Hi Larry.. It indeed is. I was working on this with Bill and we found out that you not only need PHP 5, but you need the newest version of it, 5.3

                        Once David updated me to the newest version, all worked. I need to do some more tweaking to it, yet you can see it in action by going to our Facebook below page or click here to go straight to it http://www.facebook.com/pages/Town-S...03293933092188
                        Dan

                        Girlfriends Lingerie - "Keeping It Sexy!"
                        Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                        Comment


                          #42
                          Re: Easily integrate your Miva Merchant into Facebook

                          Hi Bill: Interesting exchange between you & David at Hostasaurus, our sites' host. I hope that Hostasaurus will provide the support to us that we need to utilize our FB apps.

                          We have a ticket open to them, with the hope they will install the necessary version of PHP to allow our app to work as they should. Haven't gotten a response to the ticket yet. Once that's done, I'll be able to activate the disabled code.

                          I checked the version during my efforts to get this working yesterday (several hours of effort) and found they had version 5. something. When I saw that if was a ver. 5.. I figured my problem with our app must be something I was doing wrong, now it seems not so, especially since the nearly identical code is running OK for our other FB app on Hostasaurus.

                          Regards, Larry
                          Larry
                          Luce Kanun Web Design
                          www.facebook.com/wajake41
                          www.plus.google.com/116415026668025242914/posts?hl=en


                          Comment


                            #43
                            Re: Easily integrate your Miva Merchant into Facebook

                            Originally posted by wajake41 View Post
                            Hi Bill: Interesting exchange between you & David at Hostasaurus, our sites' host. I hope that Hostasaurus will provide the support to us that we need to utilize our FB apps.

                            We have a ticket open to them, with the hope they will install the necessary version of PHP to allow our app to work as they should. Haven't gotten a response to the ticket yet. Once that's done, I'll be able to activate the disabled code.

                            I checked the version during my efforts to get this working yesterday (several hours of effort) and found they had version 5. something. When I saw that if was a ver. 5.. I figured my problem with our app must be something I was doing wrong, now it seems not so, especially since the nearly identical code is running OK for our other FB app on Hostasaurus.

                            Regards, Larry
                            Larry like I mention above, you need the newest version of PHP... Bill had this issue also, today i did..so it is confirmed without a shadow of doubt you need the newest version of PHP installed. David upgraded mine quickly, im sure he will get to you as soon as he can.
                            Dan

                            Girlfriends Lingerie - "Keeping It Sexy!"
                            Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                            Comment


                              #44
                              Re: Easily integrate your Miva Merchant into Facebook

                              Hi Dan: How did you get Hostasaurus to upgrade your PHP so quickly. I've had a ticket open on this for approx. 6 hours and we're still broken.
                              Larry
                              Larry
                              Luce Kanun Web Design
                              www.facebook.com/wajake41
                              www.plus.google.com/116415026668025242914/posts?hl=en


                              Comment


                                #45
                                Re: Easily integrate your Miva Merchant into Facebook

                                Originally posted by wajake41 View Post
                                Hi Dan: How did you get Hostasaurus to upgrade your PHP so quickly. I've had a ticket open on this for approx. 6 hours and we're still broken.
                                Larry
                                Hi Larry, David a busy man.. I caught him I guess at a good time. David one of the best, he will get back to ya as soon as he can.
                                Dan

                                Girlfriends Lingerie - "Keeping It Sexy!"
                                Sexy Lingerie - Twitter - Facebook- Pinterest - YouTube

                                Comment

                                Working...
                                X