I also need 10 MAU so I can submit the application in the facebook application directory.
Here is the code I added (the application is written in PHP):
$canvas_page = "http://apps.facebook.com/carmusing-directory/";
$auth_url = "http://www.facebook.com/dialog/oauth?client_id="
. $app_id . "&redirect_uri=" . urlencode($canvas_page);
$signed_request = $_REQUEST["signed_request"];
list($encoded_sig, $payload) = explode('.', $signed_request, 2);
$data = json_decode(base64_decode(strtr($payload, '-_', '+/')), true);
if (empty($data["user_id"])) {
echo("");
}
After this just add the code of your application - or parts of your website... There is very little facebook applications for used cars - one of the reasons why we are working on this project.
No comments:
Post a Comment