Skip to main content

Posts

Showing posts with the label authentication

Windows 8 Metro Apps Proxy settings

Case 1: If you are on a internet connection that doesn't require any proxy settings, everything works fine. Case 2: If your internet connection requires some proxy settings(without authentication), then try this method: Open internet explorer and set the proxy under Internet Options>Connections>Lan Settings. Now open Command Prompt with Administrative privileges(On start screen type "command prompt", right click on the command prompt app and click on "Run as administrator" which is visible on the bottom of the screen). Now type the following command and press enter. netsh winhttp import proxy source=ie Restart the PC and check out. Case 3: If your internet connection requires some proxy settings with username and password, then try this method: Install fiddler Now please install this addon Open fiddler and click on Win8 config, then click "Excempt All" Restart your system Set the proxy details in proxyfier or proxyfire Alwa...

Facebook User Authentication: Get access to user data

This is the extension of my previous article on facebook share. But, no need of prior knowledge. Proceed from here. After registering a developer account @ https://developers.facebook.com/ , create an app. Note the App-Id and don't forget to add the redirect url under the app settings section. Also add all the access permissions you would like to get from the user under Auth Dalog section. All these permissions are to be used later to retrieve corresponding data. URL pattern to implement the authentication is as follows: http://m.facebook.com/dialog/oauth?client_id=<APP-ID> &redirect_uri=<PATH- TO-TARGETTED-LOCATION> &scope=<ALL-THE-PERMISSIONS-LIKE-email,offline_access> &response_type=token Just modify the CAPITAL lettered data, and for the redirect-url no need of using quotation marks ("")