It's not an error in your code, the user hasn't given that permission to your app. You'll have to log in your Facebook account and it should have a request from your app waiting for you. Only the Facebook user can change this option - your app can't change it.
I'm starting a side project, the first stage will be a building a web application with MVC, in later stages we will be adding clients for mobile platforms. My thought was to create one API that all of the applications (web and mobile) go through to get/save data.
Because these different platforms will be on different release cycles I'll need a way for, say IPhone, to work with one version of the API while the website is using an updated version. What's the best way to do that? Can someone point me to a nice article or blog post somewhere about that?
My ideas so far are:
*Create a separate project to host the MVC Web API and host that in a subdomain or in a subfolder of the root site. Then either reference the DLL directly or reference it through the web (seems like an unnecessary http call)
*House the API withing the MVC project that will be the website and try to version it based on url in there. I did some quick testing with that this morning and wasn't able to get it to work, it always resided at \api (I couldn't get it to reside at \api_v2)
Any ideas or guidance would be greatly appreciated.
I am a newbie asp.net .. I am trying to design a page in which we can upload an image and then compare the uploaded image with all the image in the database and display the images which match the uploaded image... I am not able to do the second part i.e comparing and didplaying related result ..so i need a help on that .. Thanks in advance