forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: capecodgal on February 12, 2011, 06:15:10 pm

Title: CPMFETCH & FACEBOOK!
Post by: capecodgal on February 12, 2011, 06:15:10 pm
I was able to create a pretty cool integration between cpmfetch and facebook by combining the new page tab features of facebook and the existing features of cpmfetch:

http://www.facebook.com/SelenaGomezWeb?sk=app_21191841030

You have to have a facebook developer app to get something like this going, but once you have that you can call cpmfetch from an iframe. I thought this was pretty slick and wanted to share the example with Vudd for his documentation.

Thanks again for creating this incredible script, it really is one of my favorite tools for coppermine :)
Title: Re: CPMFETCH & FACEBOOK!
Post by: capecodgal on February 12, 2011, 06:18:35 pm
sorry wrong link, this is the one that goes to the picture gallery

http://www.facebook.com/SelenaGomezWeb?sk=app_211918410305
Title: Re: CPMFETCH & FACEBOOK!
Post by: vuud on March 22, 2011, 02:00:57 am
Awesome, thanks!   Spawning from an iframe eh?

Title: Re: CPMFETCH & FACEBOOK!
Post by: capecodgal on March 26, 2011, 03:06:41 am
Yes with their recent changes to the fan pages you can now launch the iframe from the sidebar menu then you just call cpmfetch from your coppermine server  ;D
Title: Re: CPMFETCH & FACEBOOK!
Post by: au_casper on June 24, 2011, 12:34:13 pm
Thats awesome intergration with facebook, any chance you could share the code for use newbies ?
Title: Re: CPMFETCH & FACEBOOK!
Post by: merlin6666 on June 29, 2011, 02:04:14 pm
Hi capecodgal,

I am running cpmfetch and i am on Facebook.
It would be very nice, if you can share your solution how to call cpmfetch from an iframe into facebook.

Many thanks,
merlin6666

Title: Re: CPMFETCH & FACEBOOK!
Post by: capecodgal on July 23, 2011, 09:18:13 pm
The hardest part is setting up Facebook to read the custom file, aside from that its just a simple php file with your cpmfetch code in it that sits on your server

This may help some of you who are wanting to do this, basically Facebook pages allow you to create an iframe by using the developer apps to call the custom php file. This tutorial helped me alot and they have some other really good articles too :) Definitely worth the read

http://www.hyperarts.com/blog/adding-iframe-application-to-facebook-fan-page/

Facebook has a maximum width height on the frames before it automatically adds scroll bars so keep that in mind when you design your iframe. Width max is 520px and height max is 800px