Afflelou Developer Documentation

Quick start

User guides

Integration

First, install between <head> the Wall Javascript library :
<script src="/afflelou.youarethemodel.com/js/Wall.js"></script>

Place a <div> tag identified by a uniq id into the <body> :
<div id="myWall"></div>
Then, call Fb.Afflelou.GetInstance method to set your Wall into #myWall HTML element :
<script type="text/javascript">
    window.onload = function()
    {
        Wall = Fb.Wall.GetInstance(
            {
                Wall:
                {
                    container: '#myWall'
                }
            }
        );
    }
</script>

SSL

If you need to use Wall with an SSL connection, you just have to change the protocol of your script call :
<script src="/afflelou.youarethemodel.com/js/Wall.js"></script>

Examples