Horror Profile Facebook application source code released

Emanuele Feronato Facebook, Php

Horror Profile is a Facebook application I developed a month ago.

Now it’s time to release the source code. You will find some useful tips about dynamic image creation with php.

If you are absolutely new to Facebook applications, I suggest you to read “Developing a Facebook Application for absolute beginners” posts 1, 2, 3, 4 and 5.

The idea is simple: placing the profile picture in a mirror (that is a transparent PNG image) and writing the user first name as big as I can.

Hope you will make something decent out of it…

From null to full HTML5 cross platform game

I will take you by hand from the bare bones of JavaScript programming through the creation of a full cross platform HTML5 game, with detailed explainations and source code.

If you don't know where to start, then From null to full HTML5 cross platform game is the book for you.

Comments 24

  1. Post
    Author
  2. Cris

    I am trying to do something similar, but i think that i have to config my php server, but i don´t know how.

    I have this error in Facebook:

    PHP Warning: imagecreatefromjpeg() [function.imagecreatefromjpeg]: URL file-access is disabled in the server configuration in E:…\index.php on line 6 PHP Warning: imagecreatefromjpeg(http://profile.ak.fbcdn.net/v22941/664/25/q878789797987978.jpg) [function.imagecreatefromjpeg]: failed to open stream: no suitable wrapper could be found in E:…\index.php on line 6 PHP Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in E:\…\index.php on line 8 PHP Warning: getimagesize(http://profile.ak.fbcdn.net/v22941/664/25/q……978.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in E:\…\index.php on line 8 PHP Warning: imagecopyresampled(): supplied argument is not a valid Image resource in E:\…\index.php on line 18 PHP Warning: imagejpeg() [function.imagejpeg]: Unable to open ‘temp/100000378738508.jpg’ for writing: Permission denied in E:\…\index.php on line 42 PHP Warning: imagedestroy(): supplied argument is not a valid Image resource in E:\…\index.php on line 45

  3. David Salo

    Do you know to suggest invites once the my image is published?.I mean one thing that some apps do, when you publish the thing they bring you to alist of friends and you chose many of them to invite.

  4. Ze Ferreira

    Hi Popoy,

    to embedding adsense is simple and you have it her in the code of horror profile line 125 is one iframe and in the ad.html is the code of the adsense, easy. all the code is similar to horror profile with some variations.

  5. Eric

    Hi,
    Could u possibly create a flash tutorial almost similar to Horror Profile??
    The problem i faced is tat i do not know how to show facebook profile image and name in Flash.
    The method i using is FBML, PHP and AS3.
    THankalot if u have the time to create the tutorial.

  6. Jack

    Fatal error: Call to undefined method Facebook::require_login() in /home/a5358356/public_html/horrorprofile/index.php on line 87

    How to solve?

  7. Pingback: marciorosa.org » Horror Profile Facebook application source code released - Complete listing Tools and resorces for the ultimate web developer

  8. Christian Scholz-Flöter

    Is it still sound advice to suggest reading the “Developing a Facebook Application for absolute beginners” posts?

    I am afraid that I am very suspicious because several attempts to get the simplest thing done in my own FB app have failed so far. I mean, you would delete the article when it becomes invalid, right? Or add a comment that what you are writing about is not valid any longer?

    My impression is that several developers have shared their Facebook related findings time and time again in the last three years. But trying them today has not worked for me in even one instance. Maybe it is because the articles contents I have read were true at the point of writing, but are showing techniques which today are invalid…

    Thanks for sharing!

  9. mike

    It is great app but I’m geting error:
    Fatal error: Call to undefined method Facebook::require_login() in /public_html/horrorprofile/index.php on line 87
    Can someone help me with this?
    Thanks,
    Mike

  10. Mohsin

    Parse error: syntax error, unexpected T_DNUMBER, expecting T_VARIABLE or ‘$’ in /home/mohsinhayat/app/www/index.php on line 80
    all the time i write facebook.php .. it fails.. whats the problem

Leave a Reply

Your email address will not be published. Required fields are marked *