i am trying to install the Facebook app

i created a facbeook app and enetered the api and secret code and everything worked out fine. however when i actually try to register to my site with Facebook connect i receive this error This plugin is improperly configured. (Error: That 'redirect_uri' isn't allowed for that client_id.) what should i do?

Thank you

Rana