1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Develop a simple FB application, getting errors???

Discussion in 'Facebook' started by 123GoToAndPlay, Sep 8, 2010.

  1. #1
    Hi,

    I am testing with the developing of a FB application, at the moment just a very simple image with some hotspots.

    I have this in mydomain.com/facebook/index.php
    
     <a name="fb_share" type="button" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
       <img src="http://www.mydomain.com/facebook/imgs/facebook-test.jpg"  width="518" height="900" border="0" usemap="#Map" />
         <map name="Map" id="Map">
           <area shape="rect" coords="404,585,517,657" href="http://www.digitalpoint.com" target="_blank" />
           <area shape="rect" coords="405,335,517,430" href="http://www.cnn.com" />
         </map>
    
    Code (markup):
    And i turned it into a application (iframe) so i can add it as a tab.
    But i am getting the following errors:
    Application temporarily unavailable
    Parse errors:
    
    FBML Error (line 23): illegal tag "map" under "fb:tab-position"
    
    FBML Error (line 24): illegal tag "area" under "fb:tab-position"
    
    FBML Error (line 25): illegal tag "area" under "fb:tab-position"
    
    Runtime errors:
    
    Names beginning with "fb" are reserved by Facebook (fb_share)
    
    Cannot allow external script
    Code (markup):
    1/ So i guess FB parse the html content in the iframe and strips out certain tags???
    2/ How can i make simple image hotspots work? And where can i find a good tutorial on developing a dynamic application, say a form which interacts with a db on my server???
    3/ What is exactly the difference between creating a page vs applications?

    Regards
     
    123GoToAndPlay, Sep 8, 2010 IP