Skip to main content

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("")

Comments

Popular posts from this blog

Reverse Engineering : Extract contents from .img file

Unyaffs is a program to extract files from a YAFFS2 file system image. Currently it can only extract images created by mkyaffs2image. Download the source from here . Compiling : Extract the contents into a suitable place and run the following command make Usage : unyaffs [options] <image_file_name> [<extract_directory>] Options: -d detection of flash layout, no extraction -b spare contains bad block information -c <chunk size> set chunk size in KByte (default: autodetect, max: 16) -s <spare size> set spare size in Byte (default: autodetect, max: 512) -t list image contents -v verbose output -V print version Source: Official github repository

Mac Yosemite : Ugly turned out to be Uglier and Ugliest

You might have read my review on Mac OSX Yosemite , The Good, bad and ugly. Now it turned out to be UGLIEST. No more words. Here's the image. If you are on Yosemite, you might be familiar with it. Most of the times, you get stuck on boot logo. I've seen complaints regarding it saying that fellow members are ignorant of it and they deny such possibility, even though many are still facing it. Workarounds suggested by our online friends: Just reboot your mac as many times it takes to your desktop. Boot into safe mode, by holding SHIFT and then reboot. Comment your workaround below, mine is the first one. If you are still on Mavericks, be there till Apple provides a fix for this.

Nexus 5 : IMEI 0 issue

Sometime back, an update (believe me, an OTA update) blocked all network calls on my mobile. After struggling for a while, I came to know that IMEI of my phone was set to 0. Tried many solutions (resetting the phone, clearing cache, even installing fresh OS), but none came to my rescue. Thanks to a guy (sorry for not crediting), who uploaded instructions in Russian language, and with the help of Google Translate, my phone is up and running again. Note: Before proceeding any further, keep in mind that you need IMEI of your phone (check on back panel) Download related files from here . Here is the procedure that I've followed: Install the LG driver LG Install QPST Copy the entire folder EFS Professional to C drive Unpack the archive Nexus5 the root of drive C. Using WUG Nexus toolkit: Make sure running stock Android 5.0.1 Rooted If necessary, you can reset the IMEI using backups zero IMEI from the archive. To do this, simply make a backup of your EFS in TWRP, t...