Page 2 of 2

Re: New facebook Open Graph Feature

Posted: Tue Jun 22, 2010 10:57 am
by meer2005
I think you need to put the numerical ID of a standard facebook page, not one that is considered a "pages." If you have a personal facebook account, try putting the numerical ID for that account and see if that works for you. If so, you may need to create a facebook standard page for your company and just use it for this purpose. You can see here that your page is one of the pages: http://www.facebook.com/pages/Devon-Superstore/189181476984 ---

Re: New facebook Open Graph Feature

Posted: Tue Jun 22, 2010 12:12 pm
by dappy2
meer2005 wrote:I think you need to put the numerical ID of a standard facebook page, not one that is considered a "pages." If you have a personal facebook account, try putting the numerical ID for that account and see if that works for you. If so, you may need to create a facebook standard page for your company and just use it for this purpose. You can see here that your page is one of the pages: http://www.facebook.com/pages/Devon-Superstore/189181476984 ---

Actually I tried that too and it doesn't work. Does the meta need to change when using the numerical ID?

Re: New facebook Open Graph Feature

Posted: Tue Jun 29, 2010 7:50 am
by mazhar
I just updated the control source to support one more property AppId which can be used to pass your application id. See the download comment on previous page for details. Give it a try passing your numeric id see if it works for you.

Re: New facebook Open Graph Feature

Posted: Tue Jun 29, 2010 2:51 pm
by dappy2
I should probably say I got this working. However I switched to using the facebook Javascript SDK which is much nicer and easier to work with - and probably what they are migrating to. I had already changed the meta to be app_id and it wasn't working on my live website still.

Instead of loading the iframe I changed it to this:

Code: Select all

string frame = "<fb:like show_faces=\"no\" width=\"300\" font=\"Helvetica\"></fb:like>";
LiteralControl literal = new LiteralControl(string.Format(frame, HttpUtility.UrlEncode(GetAbsoluteUrl(_Product.NavigateUrl))));
All you really need once its implemented is <fb:like></fb:like>, the "show_faces=\"no\" width=\"300\" font=\"Helvetica\" is just what I used for custom settings.

http://developers.facebook.com/docs/ref ... ugins/like

Re: New facebook Open Graph Feature

Posted: Thu Jul 15, 2010 7:33 am
by draneb
Hello,

I am trying to implement this today. I just saw it on a major site and came to the forums to see if anyone had done it yet. :)
Do we need to do this step below still? And if so, what do we enter for the URL field?
mazhar wrote:You need to perform one extra step to make this work. On Facebook navigate to this location Home › Documentation › Social plugins › Like Button. Provide informatoin for LikeButton and then press Get Code button to get the iframe based code of LikeButton. Copy the code and past it into ConLib/Custom/FacebookOpenGraph.ascx file just after the </script>

Code: Select all

<script runat="server">
............................
............................
............................
</script>
<!------ Paste LikeButton Code Here  ---------->
Save it. Now give it a try by including it to product page scriptlet.

Re: New facebook Open Graph Feature

Posted: Thu Jul 15, 2010 7:59 am
by mazhar
No you don't need to do this step. Simply download the file from here download/file.php?id=1179 and use it.

Re: New facebook Open Graph Feature

Posted: Thu Jul 15, 2010 10:30 pm
by draneb
Hi!

What I have found is after clicking on the Like button then going to my personal facebook page I see where it says I like the product but upon hovering over the link the picture shows up as a "?" (no image)

Also, when I click on my Info tab and view the pages I "Like" and find the product I added hovering over that will also just show a "?"
I am using ImageType="T" because I don't use Icons. I also went into the file and changed
private string _ImageType = "I"; to
private string _ImageType = "T"; but that didn't help.

Also I notice if someone Likes a page it actually creates a Facebook page for that product. Is that the idea? I just thought it posted links on their walls.
I had a friend Like a page to test it for me. When I went to my website to check it out it showed a "Admin Page" link. When I clicked on that it took me to the page on Facebook. There are also no images showing up on those pages created on Facebook, just a question mark.

Has anyone verified their product images are showing up?

Thank you!

Re: New facebook Open Graph Feature

Posted: Wed Jul 21, 2010 5:25 pm
by igavemybest
I was looking at this website and noticed I really like the facebook layout here better: http://www.tigerdirect.com/applications ... =H450-8210

It is the same way on buy.com

Is there a different option to imlement this instead of just the button that says "Like" with a number next to it? The button, facebook logo, and text all appear to be part of the function.

Re: New facebook Open Graph Feature

Posted: Wed Jul 21, 2010 6:42 pm
by draneb
Yes, you just need to go in and edit the file that Mazhar provided and towards the bottom look for a line that starts with "string frame" change layout=button_count to layout=standard and that will take care of it.

Are your product images showing up? Mine just show a ?

Re: New facebook Open Graph Feature

Posted: Wed Jul 21, 2010 7:08 pm
by igavemybest
Ok, cool. Thanks!

Re: New facebook Open Graph Feature

Posted: Fri Aug 27, 2010 3:02 pm
by aaronfrankel
Ok, what am I missing here. I am having the same problem a couple of people mentioned. I click on the like button, it says 1 for a second, then it reverts back to original.

I have this in place:

Code: Select all

[[ConLib:Custom/FacebookOpenGraph FacebookId="115059000457"]]
I have the FacebookOpenGraph.ascx file downloaded and in the ConLib / Custom folder. I have not edited the FacebookOpenGraph.ascx in any way. Is there something I am supposed to be doing to it?

Re: New facebook Open Graph Feature

Posted: Fri Aug 27, 2010 3:05 pm
by GrfxDan
I'm getting ready to implement this myself and it appears that the problem Aaron is describing has never been addressed, though it has been raised more than once in this thread. Has anyone been able to get this working correctly? It would be nice to know if it isn't going to work right before I spend time on it...

Re: New facebook Open Graph Feature

Posted: Fri Aug 27, 2010 4:17 pm
by draneb
I, personally, ended up having to create an appID and use that number instead of a facebookID. I just couldn't get it to work with a facebookID but after creating an appID and using it everything worked great.

Re: New facebook Open Graph Feature

Posted: Sat Aug 28, 2010 8:09 am
by jmestep
I couldn't get it to work until I did as draneb advised- set up an application in the facebook account and used that id, with appropriate tweak to the code.

Re: New facebook Open Graph Feature

Posted: Wed Sep 01, 2010 8:09 pm
by combra
draneb wrote: Also I notice if someone Likes a page it actually creates a Facebook page for that product. Is that the idea? I just thought it posted links on their walls.
I had a friend Like a page to test it for me. When I went to my website to check it out it showed a "Admin Page" link. When I clicked on that it took me to the page on Facebook. There are also no images showing up on those pages created on Facebook, just a question mark.
I've noticed that it creates a facebook page for each product as well. To confirm, does anyone know if this is what this feature is suppose to do?

-Brandon

Re: New facebook Open Graph Feature

Posted: Tue Sep 21, 2010 9:29 am
by crazyjoe
I am still having no luck with this. I tried using appID and facebookID nothing gets shows up on Facebook when I click the LIKE button.

Re: New facebook Open Graph Feature

Posted: Tue Sep 21, 2010 9:37 am
by GrfxDan
Joe, where on Facebook are you looking? Your 'likes' don't appear in your stream, only on your friends' stream and on your wall (very small one-liner). If you click the 'Like' button and it changes on the product page to show that you like it (and doesn't dissappear) then it's working fine. I was able to successfully implement this myself last week and it works okay. I did have to create an AppID and use that. It does not work with a Facebook ID.

Re: New facebook Open Graph Feature

Posted: Tue Sep 21, 2010 10:25 am
by plugables
The straight-forward and easiest way to use Facebook Like and Open Graph is to use the free Facebook Like plugin by Plugables.

Re: New facebook Open Graph Feature

Posted: Tue Sep 21, 2010 11:14 am
by crazyjoe
Thanks plugables worked perfect! Thank you so much, you guys are great!

Re: New facebook Open Graph Feature

Posted: Tue Sep 21, 2010 11:52 am
by plugables
Thanks crazyjoe for the compliments.
You may want to have a look at other free plugins as well. http://www.plugables.com/FreeDownloads.aspx