Latest Posts
Google Cloud Messaging (GCM) in Node.js
Google Cloud Messaging (GCM) in Node.js
var gcmObject = new gcm.AndroidGcm('API Key'); //get from Google APIs Console page.
var message = new gcm.Message({
registration_ids: ['device tokens1','device tokens2'],
data: {
title: 'message title here',
message: 'your message here'
}});
gcmObject.send(message, function(err,response){
callback(err,response);
});
});
Source : Google Cloud
Read more »
Introduction
GCM (Google Cloud Messaging) is a service provides by google that is used to send data to android device. It is free service from google that helps to send data from servers to android applications.
How to get Google APIs Key:
1. Create a new project from Google APIs Console page.
2. After creating project note down project id from url. Later it will be used as a sender id.
3. After that click on Services.
4. Once you are done, Click on API Access and write down the API Key. This key will be used for sending request to GCM Server.
How to use GCM service in our server side.
Install: npm install android-gcm
Simplest Code :
var gcm = equire('android-gcm');var gcmObject = new gcm.AndroidGcm('API Key'); //get from Google APIs Console page.
var message = new gcm.Message({
registration_ids: ['device tokens1','device tokens2'],
data: {
title: 'message title here',
message: 'your message here'
}});
gcmObject.send(message, function(err,response){
callback(err,response);
});
});
Source : Google Cloud
Get Latest Tweets Using PHP With Codeigniter
Get Latest Tweets Using PHP With Codeigniter
Twitter API using get Latest tweets(feeds) .
Step 1: you should read this article understand easily Twitter Direct Messages
step 2: PHP page write a code like
example Barak Obama latest tweets here.
Read more »
Twitter API using get Latest tweets(feeds) .
Step 1: you should read this article understand easily Twitter Direct Messages
step 2: PHP page write a code like
example Barak Obama latest tweets here.
Create your own google chrome app.
Create your own google chrome app.
s
Read more »
Create your own Google Chrome browser application I am going to show you how to create Google chrome app using JSON an upload chrome store. I am creating this app using JSON and its very easy to create you can create it in minutes. To create chrome app you need a text editor like notepad or word pad and Google chrome browser.
s
Mandrill API to send Mails with Templates also dynamic content using PHP
Mandrill API to send Mails with Templates also dynamic content using PHP
Mandrill: The fastest way to deliver email Mandrill.com
Follow these steps to start your Mandrill app.
Goto click here https://mandrillapp.com/ create your mandrill account.
Continue to Read »»»
Mandrill: The fastest way to deliver email Mandrill.com
Follow these steps to start your Mandrill app.
Goto click here https://mandrillapp.com/ create your mandrill account.
Twitter Send Direct Messages Through Codeigniter
Twitter Send Direct Messages Through Codeigniter
How to send a new direct message to the specified user from the authenticating user (TWITTER).
Continue to Read »»»
How to send a new direct message to the specified user from the authenticating user (TWITTER).
Resource URL
Step 1: Download Twiiter API class file and placed inside the third_party or vendor.
Facebook Invite Friends API
Facebook Invite Friends API
This is the example of invite facebook friends API .
Example:
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
appId:'634140213295237',
cookie:true,
status:true,
xfbml:true
});
function FacebookInviteFriends()
{
FB.ui({
method: 'apprequests',
message: 'Your Message diaolog'
});
}
</script>
//HTML Code
<div id="fb-root"></div>
<a href='#' onclick="FacebookInviteFriends();">
Facebook Invite Friends Link
</a>
Read more »
Example:
<script src="http://connect.facebook.net/en_US/all.js"></script>
<script>
FB.init({
appId:'634140213295237',
cookie:true,
status:true,
xfbml:true
});
function FacebookInviteFriends()
{
FB.ui({
method: 'apprequests',
message: 'Your Message diaolog'
});
}
</script>
//HTML Code
<div id="fb-root"></div>
<a href='#' onclick="FacebookInviteFriends();">
Facebook Invite Friends Link
</a>
PHP Development include?
PHP Development include?
PHP Development
• Web Application Development
• Application Enhancement
• Application Maintenance
• mySQL Data Modeling
• Open Source Implementation
• Zend Framework
• Customized Scalable Applications
Continue to Read »»»
• Web Application Development
• Application Enhancement
• Application Maintenance
• mySQL Data Modeling
• Open Source Implementation
• Zend Framework
• Customized Scalable Applications
Subscribe to:
Posts (Atom)
Suneel kumar
Copyright © 2013 Suneel kumar's and suneel kumar