Android allows your application to connect to facebook and share data or any kind of updates on facebook. This chapter is about integrating facebook into your application.
There are two ways through which you can integrate facebook and share something from your application. These ways are listed below −
This is the first way of connecting with facebook. You have to register your application and then receive some Application Id , and then you have to download the facebook SDK and add it to your project.
You have to generate a key signature, but before you generate it, make sure you have SSL installed, otherwise you have to download SSl. It can be downloaded here.
Now open command prompt and redirect to your java jre folder. Once you reach there, type this command exactly. You have to replace the path in the inverted commas with your keystore path which you can found in eclipse by selecting the window tab and selecting the preferences tab and then selecting the build option under android from left side.
Intent share is used to share data between applications. In this strategy, we will not handle the SDK stuff, but let the facebook application handles it. We will simply call the facebook application and pass the data to share. This way, we can share something on facebook.
Android provides intent library to share data between activities and applications. In order to use it as share intent , we have to specify the type of the share intent to ACTION_SEND.
webdesignersmalaysia is a professional Freelance Facebook Integration, application components, activity lifecycle, service lifecycle, application architecture, publishing application, debugging applications, handling events, layouts, menus, user interface controls, styles and themes, handling rotation, fonts management, send email, data storage, managing media, send sms, phone calls.
Please contact on my mobile/Whatsapp +91 - 9032803895 for any digital marketing work ,facebook integration work. Email me at email@example.com to Know course and support. Add my Skype id (purnendu_ranjan) to discuss further.