Changed parameter input

-now accepts id and size parameters in url
-removed debug console calls
-added an error message in case the request from fb fails