This process should take you about 25 minutes to complete the initial modifications for a CSSUI store. You will probably further customize your pages beyond this basic "how to". This example is for CSSUI stores. If your store is MMUI (with or without css) you will need to modify the pages accordingly. This "how to" uses just one 3rd party module, the Emporium Plus Tool Kit. If you don't have that module, you can still do this but you will have to remove the enhanced functionality that the Tool Kit is adding to these pages. Using the technique described here, you will be able to have dynamically streamed pages from your Miva Merchant store, including current inventory. If the customer logs in it will even show them price group prices. This method does not currently cost you anything other than the amount you already pay for your hosting, Miva Merchant license, and installed 3rd party modules. Course some day Facebook could start charging for pages. Afterall, they have half a billion users so they are in the driver's seat. You will also NOT have any obtrusive branding from 3rd parties wanting to put their logo all over your store's pages. This code is available for you to use. It is your store and people should not be confused as to who the store belongs to. It also lets you use tools without divulging to your competitors what those tools are. a) You need to make sure &fb=1 is in urls so that the pages will be served up for FaceBook's 500 pixel limitation. b) Your pages must be displayed securely as Facebook has an account setting that lets users only see FaceBook pages as https. If you don't make your store pages secure, the customer will get warnings. c) You will be using the long urls as SEO is irrelevant. Search engines do not follow in Facebook so link style and cannonical tags are not important. On the other hand, serving the pages secure is important. d) I activated the built in affiliate system and created two affiliates called friends and notfriends. This will let you track sales that are originating at Facebook. The friends affiliate will be used when the shopper has "liked" your store's page. The notfriends will be used when they have not "liked" your store's page. e) Make sure your server has PHP5 installed. It may need to be as high as 5.3.6. We don't know exactly what minor version is needed. If it does not have a new enough PHP version, you'll be limited on what you can do and will have to modify the miva2fb.php in the next step to remove php coding. PHP4 will not work. I already tried it. ********************************************************************************************************************* 1) Facebook is recommending that you use iframe tabs instead of the older FBML tabs. There is an outstanding tutorial on "how to" do that at http://www.hyperarts.com/blog/adding-iframe-application-to-facebook-fan-page/ I could have included the steps in my doc, but his includes screen shots and is really easy to follow. You will download the php sdk linked from the hyperarts "how to" and create the application. I would recommend making a directory called facebook under your store's domain, e.g. http://www.yourdomain.com/facebook/ In that directory you will put two files, facebook.php and miva2fb.php. The first you get from the sdk. The second you create using the php example you see below. In this example you will fill in the app_id and the app_secret. You will change the domain in the path to your store for both the friends and notfriends. If you decide to name your affiliates differently you will also need to change their names in the path. There is an invite sentence which you can change to make appropriate for your site. Or you can just leave that empty. Here is the example file to make changes to. After you follow the tutorial, one of the steps will tell you the app_id and app_secret codes. Insert those into the php example file below. FTP the two files (facebook.php and miva2fb.php) to the facebook directory in your domain. When you are going through the tutorial and creating the app, it will ask you for an app icon image file. I found this website has thousands to choose from http://www.favicon.cc/ Find one that the license is "creative commons" with no attribution. $app_id, 'secret' => $app_secret, 'cookie' => true )); $signed_request = $facebook->getSignedRequest(); $page_id = $signed_request["page"]["id"]; $page_admin = $signed_request["page"]["admin"]; $like_status = $signed_request["page"]["liked"]; $country = $signed_request["user"]["country"]; $locale = $signed_request["user"]["locale"]; if ($like_status) { $varpath = "https://www.YOURDOMAINHERE.com/CTGYFB.html?affiliate=friends&fb=1"; } else { $varpath = "https://www.YOURDOMAINHERE.com/CTGYFB.html?affiliate=notfriends&fb=1"; } if ($like_status) { $invite = ""; } else { $invite = "Like Us to get 5% off in the basket"; } ?>