Using laravel to create a facebook tab app

  • First create a new facebook tab app by adding the platform, then add the domain, url like the following
  • Change the files form the public directory to the index of the application
  • If you for a 404 page you have to check you server configuration like mod rewrite and apache configs
  • Use to get the request Route::any instead to get any request type, facebook use post requests
  • For any Facebook app you need to get permission from the user, that’s called scopes, when the user accept redirect him to the facebook page like or something
  • You get the returned session from facebook so you can continue with your app
  • Don’t use redirects instead use view to pull a specific page
  • and offcource use facebook sdk
  • Add for the links target=”_parent”
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: