How to Create custom Facebook Share Button

In this video I have shown how to create a custom designed facebook share button. As shown in the video we need to create an app in the facebook developer site and get the facebook APP ID. You can create any number of share buttons just with one APP ID. No need to create APP …

Continue reading

Java-Send JSON Request and Read JSON Response

In this video I have shown how to Send a JSON Post request using JAVA and Parse the Response using JAVA. For testing we are using the Open web service from this website https://gurujsonrpc.appspot.com. In this project we are using 2 jars, 1. java-json.jar 2. org.apache.commons.io.jar Post_JSON.java package com.chillyfacts.com; import java.io.BufferedInputStream; import java.io.InputStream; import java.io.OutputStream; …

Continue reading

Get IP address Location of Client/User JAVA web project

This project shows how to take IP address of user in your Web Project. And you can use the IP address to predict the location where they are using. Update the Key after registering in the website https://ipinfodb.com/ Get_Location_From_IP.java package Modal; import java.io.BufferedReader; import java.io.InputStreamReader; import java.net.URL; public class Get_Location_From_IP { public Location_Use_Bean get_ip_Details(String ip) …

Continue reading

Integrate login with Social Network using JAVA

All the popular Social Media login integration is shown in the pages below. It includes Facebook, Reddit, Google, Instagram and LinkedIn. Go through the below pages. All the source code is shared in corresponding pages. Login with Facebook. https://chillyfacts.com/integrate-login-with-facebook-using-java/ Login with Google. https://chillyfacts.com/integrate-login-with-google-in-websites-with-java/ Login with Reddit. https://chillyfacts.com/integrate-login-with-reddit-in-website-using-java/ Login with Instagram. https://chillyfacts.com/integrate-login-with-instagram-in-website-using-java/ Login with LinkedIn. https://chillyfacts.com/integrate-login-with-linkedin-in-website-using-java/

Continue reading

Java program to send email using smtp

Download the project shown in youtube here, send_mail.rar Project Structure in Eclipse. This project uses jars activation-1.1.1.jaractivation-1.1.1.jar and mail-1.4.1.jar.mail-1.4.1.jar Send email using Gmail with Java program below Update the From email id,password and to email id with your email information. send_email_gmail.java package email; import java.util.*; import javax.mail.*; import javax.mail.PasswordAuthentication; import javax.mail.internet.*; public class send_email_gmail { …

Continue reading

Export excel java – How to write data into excel sheet using java

This JAVA program shows how to write to excel file. This program can generate .xls file from the program. It uses a External Jar file jxl.jar. You can download it here jxl.jar You have to add this to classpath Project Structure in Eclipse Write_to_excel_file_directly.java package com.chillyfacts.com; import java.io.File; import jxl.Workbook; import jxl.write.*; public class Write_to_excel_file_directly { …

Continue reading

Java read xls- Read data from Java excel API JAVA

This Java program shows how to read Excel file. Please note that this program will read only .xls file and will not read .xlsx file. You can convert a .xlsx to .xls by clicking Save As and select the Save as type ‘Excel 97-2003 Workbook (*.xls)’. This program uses poi-3.9-20121203.jar. You can download it here poi-3.9-20121203. …

Continue reading