How to create a Facebook Application ID and Twitter Consumer and Secret Key

By | January 31, 2014
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

Obtain a Facebook App ID

If you haven’t already registered your app with Facebook by creating a Facebook app, you can create a new app on the App Dashboard. In the App Dashboard, select Apps > Create an app:

image

And fill in the information:

image1

 

On the ‘Settings’ page, set the ‘Native or Desktop App?’, ‘Social Discovery’ and ‘Client OAuth Login’ keys to ‘Yes’. You will get these under the ‘Advanced’ tab.

 

Facebook App Id - Step 4

Next up, make the app and its live features publicly available, by setting the key under Queue ‘U’ to ‘Yes’.

Facebook App Id - Step 3

Enter your contact email, set ‘Single Sign On’ to ‘Yes, and disable the ‘Deep Linking option.

Facebook App Id - Step 5

Enter your unique App ID and App Secret Code.

Facebook App Id - Final Step

If you already have a Facebook app (and corresponding Facebook app ID) that you’re using for the same app in another platform (for example, Android), you can use the same app ID for iOS.

Next, you need to set the Bundle Identifier and configure your Facebook application to support login from an iOS application.

Select “Settings” from the left-hand nav. Inside the settings, click on “Add Platform” and choose “iOS”. Then provide your Bundle Identifier in the “Bundle ID” field and enable “Single Sign On”. Don’t forget to save the changes!

*note Please provide bundle ID as->com.flokk

image4

Follow these Instructions to create Twitter Consumer and Secret Key:

 

Login to twitter->then go to https://dev.twitter.com/apps

Click on create Application.

image6
Go to https://dev.twitter.com/apps/new and log in, if necessary

1.Enter your Application Name, Description and your website address. You can leave the callback URL empty.

2.Accept the TOS, and solve the CAPTCHA.

3.Submit the form by clicking the Create your Twitter Application

4.Copy the consumer key (API key) and consumer secret from the screen into your application

Create Your Access Token for OAuth

image4

After creating your Twitter Application, you have to give the access to your Twitter Account to use this Application. To do this, click the Create my Access Token.

Get the Consumer Key, Consumer Secret, Access token, Access Token Secret

image5

In order to access the Twitter, that is to get recent tweets and twitter followers count, you need the four keys such as Consumer Key, Consumer Secret, Acess token, Access Token Secret.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Hussain Fakhruddin
Follow me

Hussain Fakhruddin

Hussain Fakhruddin is the founder/CEO of Teknowledge mobile apps company. He heads a large team of app developers, and has overseen the creation of nearly 600 applications. Apart from app development, his interests include reading, traveling and online blogging.
Hussain Fakhruddin
Follow me

Latest posts by Hussain Fakhruddin (see all)

 

Leave a Reply

Your email address will not be published. Required fields are marked *