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.
Announcement
Collapse
No announcement yet.
Easily integrate your Miva Merchant into Facebook
Collapse
X
-
Re: Easily integrate your Miva Merchant into Facebook
Originally posted by wcw View PostWithout 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.
Leave a comment:
-
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.
Leave a comment:
-
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
Leave a comment:
-
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.
Leave a comment:
-
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
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
Thanks Bill: That worked.
I now crown you "Super Fantastic Facebook Guru"
Regards, Larry
Leave a comment:
-
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.
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
Hi Bill: Thanks for the explanation.
Now I have another question: I have not been able to find in the FB documentation how I can move my app up in the menu list on our FB page. I'd like it to be positioned where "Wall" is now. Do you have a link to their documentation that will tell me how that is done?
Thanks, Larry
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
The only time that variable exist is if you have selected a category in the drop down. The default is no category. Hence altcat would be CTGYFB which is the screen code. So your url in that scenario is what ever you have in your store that goes straight to the screen. In this case CTGYFB is your entry screen. So your url should be going to the same thing you have for CTGYFB without a catetgory code. If it has a category code show a url which could filter to the category. So you have to study your links and change accordingly. In my store I use things like www.emporiumplus.com/CTGYFG.html for the link without category. I use www.emporiumplus.com/thecatcode.html when it has a category code. Since I am using the TKSL short links function, I am checking to see if fb=1. If it does, anytime the screen is supposed to be CTGY, it changes it to CTGYFB. But if you are not using TKSL you would not be able to do that.
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
Hi Bill: I see that the problem is that this conditional:
<mvt:if expr="ISNULL l.settings:category:code">
<mvt:item name="toolkit" param="sassign|altcat|CTGYFB" />
is not finding the variable and is assigning category CTGYFB to the anchors in every case. I did a KSE variable display & l.settings:category:code doesn't exist.
Maybe the Toolkit version that we have (5.1780 ) isn't current enough?
The save/restore basket feature on the Basket page doesn't work for this reason.
Larry
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
Originally posted by wajake41 View PostNow a question: What is the purpose of the a thru z links in the search portion of the CTGYFB page. They are failing on our FB site and I'm wondering if I should remove them or try to fix them.
Thanks, Larry
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
Originally posted by Siamese-Dream.Com View PostGoogle likes original content and frowns upon duplicate content. When google sees that your home page, and your facebook homepage have the same content, it might think that your web site is scraping Facebook's content, and that your web site is displaying duplicate content.
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
Hi Bill: Found the solution to the positioning of the basket items on the BASKFB page. Used style="position:relative;top:-60px;" in the <table> tag.
Now a question: What is the purpose of the a thru z links in the search portion of the CTGYFB page. They are failing on our FB site and I'm wondering if I should remove them or try to fix them.
Thanks, Larry
Leave a comment:
-
Re: Easily integrate your Miva Merchant into Facebook
But if you go that far, why not stream the whole store.
Google likes original content and frowns upon duplicate content. When google sees that your home page, and your facebook homepage have the same content, it might think that your web site is scraping Facebook's content, and that your web site is displaying duplicate content.
Google also gives a lot of trust to name brands, so unless you have a bazillion links coming in to your web site, it is very likely that your facebook page will outrank your home page.
Now you might think that is good, but because the content is so similar, it might be that if your home page and your facebook page are competing with one another in the search results, neither will rank higher than your competitors.
Just something to think about...
Leave a comment:
Leave a comment: