Facebook Album Creation php
<p>When I issue the following post command to create the album, nothing is created.</p>

<pre><code>    $album_url="https://graph.facebook.com/".$fanpage_id."/albums?"
    . "name=" . urlencode($album_name)
    . "&amp;message=" . urlencode($album_description)
    . "&amp;method=POST"
    . "&amp;access_token=" . $fanpage_token; 
    file_get_contents($graph_url);
</code></pre>

<p>However, the album can be created with the below hard code. Something wrong in the above post command? </p>

<pre><code>   $album_url = 'https://graph.facebook.com/xxx/albums?name=%22album%20php%20%20name%22&amp;message=%22Album%20php%20%20description%22&amp;method=POST&amp;access_token=xx;
   file_get_contents($album_url);
</code></pre>
