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
-
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 :)
-
sorry wrong link, this is the one that goes to the picture gallery
http://www.facebook.com/SelenaGomezWeb?sk=app_211918410305
-
Awesome, thanks! Spawning from an iframe eh?
-
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
-
Thats awesome intergration with facebook, any chance you could share the code for use newbies ?
-
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
-
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