<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Appniasoft</title>
	<atom:link href="http://www.appniasoft.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.appniasoft.com</link>
	<description>Take it if you need it :-)</description>
	<lastBuildDate>Tue, 04 Oct 2011 14:45:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>The Bitter Sweet Truth of Freelance Content Writing</title>
		<link>http://www.appniasoft.com/the-bitter-sweet-truth-of-freelance-content-writing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-bitter-sweet-truth-of-freelance-content-writing</link>
		<comments>http://www.appniasoft.com/the-bitter-sweet-truth-of-freelance-content-writing/#comments</comments>
		<pubDate>Tue, 04 Oct 2011 14:45:40 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[Freelance Writing]]></category>
		<category><![CDATA[content writing problems]]></category>
		<category><![CDATA[freelance writing]]></category>
		<category><![CDATA[starting freelance writing]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=167</guid>
		<description><![CDATA[Writers who are new to freelance content writing might face many problems in the beginning. This can be really frustrating and discouraging if you are not prepared for it. Here are three Cs of content writing that you must know before jumping into it. ]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Knowing that you have the gift of writing can be overwhelming. This might put you among the talented and creative minority of the world. Also, it opens for you hundreds of career opportunities. However, it is only through trial by the fire that you are able to polish your skills and prove your worth. In its very true sense, the trial begins when you decide to monetize your talent as a freelance content writer.</p>
<p style="text-align: justify;"><strong>Creativity –</strong> The very truth about content writing is that it is anything but creative. So, the very first thing you need to do is to kill that ‘writer’s conscience’ if you have any. Content writing is not for the sake of writing or language or anything that makes it highly respectable; it is majorly for marketing and product promotion. Yet, if you have the talent to mold anything into a creative piece of writing, that’s a plus for sure.</p>
<p style="text-align: justify;"><strong>Compensation- </strong>So you are ready to make some bucks, eh! There are definitely too many stories about freelance writers leaving their day jobs and enjoying a prosperous life with the money they get from writing. Sounds fascinating but try your luck and you’ll only get frustrated. Unless you have a solid profile, no one would be willing to pay your more than a dollar per article, or may be two. Compensations are way too low for starters. So, there surely is success but it’s a long and very low-paid path.</p>
<p style="text-align: justify;"><strong>Client</strong> – Well, there are several different types of client which I do intend to discuss later someday, but generally they are all scary. First of all they think of you not as a writer with a small sensitive heart but as a mirror on the wall. You must know everything about everything and you should learn to lie about your client being the best in whatever that is they do. Secondly, don’t expect to get any appreciation for all the effort. Even for an article worth publishing in a magazine, all you get is ‘okay, its fine.’</p>
<p style="text-align: justify;">So, if you think you are strong and determined enough to make through the three Cs of content writing, there is definitely a career waiting for you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/the-bitter-sweet-truth-of-freelance-content-writing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Google launches api for gplus</title>
		<link>http://www.appniasoft.com/google-launches-api-for-gplus/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-launches-api-for-gplus</link>
		<comments>http://www.appniasoft.com/google-launches-api-for-gplus/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 22:54:32 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[gplus]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[google +]]></category>
		<category><![CDATA[google plus]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=160</guid>
		<description><![CDATA[Hello to All As all we know that google has launched its social network called google plus. So from the time of launching developers like me was waiting for an api for this great social plateform, and the time has come. Yes my dear fellows the time has come to dive into the google plus api and make some good apps as well as good money ofcourse. google has launched its first beta api but [...]]]></description>
			<content:encoded><![CDATA[<p>Hello to All<br />
As all we know that google has launched its social network called google plus. So from the time of launching developers like me was waiting for an api for this great social plateform, and the time has come. Yes my dear fellows the time has come to dive into the google plus api and make some good apps as well as good money ofcourse.<br />
google has launched its first beta api but currently google just focused on public data only. Read this official post for more details.</p>
<p style="padding: 0 0 1em 0; margin: 0;">Also, google introduced a new <a href="https://developers.google.com/+/" target="_blank">Google+ developers site</a>. This will be the place to go for our <a href="http://developers.google.com/+/policies" target="_blank">policies</a>, <a href="http://developers.google.com/+/terms" target="_blank">terms</a>, <a href="http://developers.google.com/+/discussions" target="_blank">discussions</a> with other developers, access to <a href="http://developers.google.com/+/api" target="_blank">documentation</a>, tools that make development on the Google+ platform easier and more fun, and of course, the place where announcements concerning new releases will be made.</p>
<p>So what are you waiting for guys. Dive into the api and some good money..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/google-launches-api-for-gplus/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to get access token and ID for fan page using graph api (facebook)</title>
		<link>http://www.appniasoft.com/how-to-get-access-token-and-id-for-fan-page-using-graph-api-facebook/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-access-token-and-id-for-fan-page-using-graph-api-facebook</link>
		<comments>http://www.appniasoft.com/how-to-get-access-token-and-id-for-fan-page-using-graph-api-facebook/#comments</comments>
		<pubDate>Thu, 01 Sep 2011 15:34:02 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook fan page access token]]></category>
		<category><![CDATA[facebook how to]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=153</guid>
		<description><![CDATA[This is my another blog of my HOW TO series for facebook graph api with php. In facebook graph api, you can get any information by the help of user id, its access token and particular permission&#8230; Today lets take a look that how we can play with the facebook api to get information related to a fan page&#8230; For fan page, first of all we need manage page permission from user. Then second noticable [...]]]></description>
			<content:encoded><![CDATA[<p>This is my another blog of my HOW TO series for facebook graph api with php.<br />
In facebook graph api, you can get any information by the help of user id, its access token and particular permission&#8230;<br />
Today lets take a look that how we can play with the facebook api to get information related to a fan page&#8230;<br />
For fan page, first of all we need manage page permission from user. Then second noticable this is that fan page has its own ID and ACCESS TOKEN, so if we want to do something with fan page remotely like getting or posting anything to fan page then we surely need its ID, its ACCESS TOKEN and manage page permission from user&#8230;<br />
Today I will make you understand that how we can get page id and its access token from facebook with facebook graph api php..<br />
Lets suppose that we are using facebook graph api php sdk..<br />
Below is the function that make facebook object of current user and call facebook and gets all the pages, ids and its access token, whom user is admin&#8230;</p>
<pre class="brush: php; title: ; notranslate">
function get_pages_token()
{
	$fb = new Facebook(array(
        'appId'  =&gt; app_id,
        'secret' =&gt; app_secret,
        'cookie' =&gt; true, // enable optional cookie support
));
	$fan_pages = array();
	$temp_pages = $fb-&gt;api('/'.$fb-&gt;user.'/accounts','GET',array('access_token'=&gt;$fb-&gt;session_key));
	if(count($temp_pages['data']) &gt; 0)
	{
		foreach($temp_pages['data'] as $page)
		{
			if($page[&quot;category&quot;] != &quot;Application&quot;)
				$fan_pages[$page['id']] = $page['access_token'];
		}
	}

	return $fan_pages;
}
</pre>
<p>
This function will return an array with ID as key and access token as value for all the fan pages whom user is admin.<br />
<br />
Hope this will help <img src='http://www.appniasoft.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/how-to-get-access-token-and-id-for-fan-page-using-graph-api-facebook/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>How to get number of friend (friend count) in facebook using graph api</title>
		<link>http://www.appniasoft.com/how-to-get-number-of-friend-friend-count-in-facebook-using-graph-api/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-number-of-friend-friend-count-in-facebook-using-graph-api</link>
		<comments>http://www.appniasoft.com/how-to-get-number-of-friend-friend-count-in-facebook-using-graph-api/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 20:20:31 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook friends]]></category>
		<category><![CDATA[facebook friends count]]></category>
		<category><![CDATA[facebook how to]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=138</guid>
		<description><![CDATA[In my previous blog I have told you that how to get the count for a fanpage. You can check it here. Now today I will tell you how to get the friends of a friend using graph api.. I assume that you know the authentication process and all the basic I assume that you are using the facebook official php sdk. That you can download from GITHUB. So here is the function by which [...]]]></description>
			<content:encoded><![CDATA[<p>In my previous blog I have told you that how to get the count for a fanpage. You can check it <a href="http://www.appniasoft.com/how-to-get-count-of-any-facebook-fan-page-graph-api/" target="_blank">here</a>.<br />
Now today I will tell you how to get the friends of a friend using graph api..<br />
I assume that you know the authentication process and all the basic <img src='http://www.appniasoft.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>I assume that you are using the facebook official php sdk. That you can download from <a href="https://github.com/facebook/php-sdk/" target="_blank">GITHUB</a>.</p>
<p>So here is the function by which you can get the count or total friends for a particular user.</p>
<pre class="brush: php; title: ; notranslate">
function fb_get_friendcount($user_id, $access_token, $count=false)
{
	$fb = new Facebook(array(
        'appId'  =&gt; app_id,
        'secret' =&gt; app_secret,
        'cookie' =&gt; true, // enable optional cookie support
));
	$result = $fb-&gt;api(&quot;/&quot;.$user_id.&quot;/friends&quot;,array(&quot;access_token&quot;=&gt;$access_token));
	if($count == true)
		return count($result[&quot;data&quot;]);
	else
		return $result[&quot;data&quot;];
}
</pre>
<p>
Here we will pass the count parameter FALSE if we need only the count of friends and if we need a complete array we do not need to pass the third parameter
</p>
<p>Hope this will help <img src='http://www.appniasoft.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  . Feel free to ask any question</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/how-to-get-number-of-friend-friend-count-in-facebook-using-graph-api/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to like / unlike an object in facebook using graph api</title>
		<link>http://www.appniasoft.com/how-to-like-unlike-an-object-in-facebook-using-graph-api/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-like-unlike-an-object-in-facebook-using-graph-api</link>
		<comments>http://www.appniasoft.com/how-to-like-unlike-an-object-in-facebook-using-graph-api/#comments</comments>
		<pubDate>Tue, 09 Aug 2011 21:35:48 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook how to]]></category>
		<category><![CDATA[facebook like]]></category>
		<category><![CDATA[facebook unlike]]></category>
		<category><![CDATA[using graph api like]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=133</guid>
		<description><![CDATA[Facebook graph api treat every thing as an object, and every onject in facebook has a unique ID. Using graph api anyone can integrate facebook functionality in his website. What if you need to like or unlike a facebook object using graph api???? Here is a simple tutorial by which you can achieve this. I assume that you are using the facebook official php sdk. That you can download from GITHUB. I also assume that [...]]]></description>
			<content:encoded><![CDATA[<p>Facebook graph api treat every thing as an object, and every onject in facebook has a unique ID. Using graph api anyone can integrate facebook functionality in his website.</p>
<p>What if you need to like or unlike a facebook object using graph api????</p>
<p>Here is a simple tutorial by which you can achieve this.</p>
<p>I assume that you are using the facebook official php sdk. That you can download from <a href="https://github.com/facebook/php-sdk/" target="_blank">GITHUB</a>.</p>
<p>I also assume that you already know how to get the ID and access token for that particular user.</p>
<p>So here are the functions</p>
<p>&nbsp;</p>
<pre class="brush: php; title: ; notranslate">
function fb_like($object_id, $access_token) {
         $fb = new Facebook(array(
        'appId'  =&gt; app_id,
        'secret' =&gt; app_secret,
        'cookie' =&gt; true, // enable optional cookie support
));
	return $ret=$fb-&gt;api('/'.$object_id.'/likes','POST',array('access_token'=&gt;$access_token));

}

function fb_unlike($object_id, $access_token) {
         $fb = new Facebook(array(
        'appId'  =&gt; app_id,
        'secret' =&gt; app_secret,
        'cookie' =&gt; true, // enable optional cookie support
));
	return $ret = $fb-&gt;api('/'.$object_id.'/likes','POST',array('access_token'=&gt;$access_token,'method'=&gt;'delete'));
}
</pre>
<p>
Hope this will help <img src='http://www.appniasoft.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/how-to-like-unlike-an-object-in-facebook-using-graph-api/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Press Release Writing &#8211; Making News Out Of No News</title>
		<link>http://www.appniasoft.com/press-release-writing-making-news-out-of-no-news/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=press-release-writing-making-news-out-of-no-news</link>
		<comments>http://www.appniasoft.com/press-release-writing-making-news-out-of-no-news/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 18:07:12 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[Freelance Writing]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=129</guid>
		<description><![CDATA[Press release writer’s worst nightmare becomes a reality when clients themselves have no idea about what news they want to propagate; they just want a press release. Trust me, such nightmares happen quite often. As a ghostwriter, I have plenty of horror stories to share. Most of the details I receive from my clients read; ‘I have a website watevertheurl.com for which I need a newsworthy press release. I don’t have any idea or news [...]]]></description>
			<content:encoded><![CDATA[<p>Press release writer’s worst nightmare becomes a reality when clients themselves have no idea about what news they want to propagate; they just want a press release.</p>
<p>Trust me, such nightmares happen quite often. As a ghostwriter, I have plenty of horror stories to share. Most of the details I receive from my clients read;</p>
<p><em>‘I have a website <span style="text-decoration: underline;"><a href="http://www.watevertheurl.com/">watevertheurl.com</a></span> for which I need a newsworthy press release. I don’t have any idea or news right now. ’</em></p>
<p>What a clueless client! But beware! Sometimes the details are in a language, you just can’t interpret, so this one is still among my <em>not-so-scary</em> ones.</p>
<p>As a matter of fact, such projects used to be quite frustrating for me in the beginning, but with time I have learned exactly how to handle them, not like a press release writer, but like a news reporter. As I am here to share my experience with you, here is a thing you must first understand about press releases.</p>
<p><em>‘While bad Press release is one which reads like a sales pitch, one which reads like an article is the worst.’</em></p>
<p>Too much information on various aspects of a niche will make your release sound like an article. Always remember that a press release should focus more on the news rather than the specific product, service or company the release is about. That doesn’t mean you should completely totally overlook them either.</p>
<p>So, first of all you need to find the news and craft out a headline. Here are a few tricks to do that.</p>
<ul>
<li>See if the website is newly launched. If it is then ‘<em>BAAM’… Problem Solved!  </em>Tell them some thoughtful and considerate person has launched a new website to solve their problems regarding ‘whatever the website does’ or something related to that.</li>
<li>Check out the website to see what is so unique that they are offering and their competitors are not. The websites are usually bragging about loads of ‘unique’ services and offers which set them apart. Make a headline out of such unique offers and services, and you are good to go.</li>
<li>Find out if your client is catering to a particular customer base or area. Check for some stats about needs or problems faced by that customer base related to whatever your client’s niche is. Your headline can work as a <em>‘good news’</em> heralding the end of customer’s particular problems.</li>
<li>Think about the benefits of your clients business on a broader level, for instance, economy, environment, technology or social ties. I guess nothing else can make a better news than a small business focusing on bigger benefits.</li>
</ul>
<p>Now remember one thing, news is good enough to get you started with the headline and the first paragraph. You can later start to add details about features and facts about the product or service of your client, but even that has to relate to the news somehow. You can find details, regarding how you can achieve that, in my blog which describes the difference between article and a press release.</p>
<p><em> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/press-release-writing-making-news-out-of-no-news/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Difference between Article and Press Release writing</title>
		<link>http://www.appniasoft.com/difference-between-article-and-press-release-writing/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=difference-between-article-and-press-release-writing</link>
		<comments>http://www.appniasoft.com/difference-between-article-and-press-release-writing/#comments</comments>
		<pubDate>Thu, 28 Jul 2011 17:57:42 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[Freelance Writing]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=123</guid>
		<description><![CDATA[They say freelance writing will earn you enough money that you can simply bid farewell to your day job and say hello to early retirement. If that’s really true for someone &#8211; That someone should rather try that luck somewhere in Vegas. Here’s a little reality check, if article writing is your niche then you’d be terribly disappointed to open your eyes to a bitter truth. No one would be willing to pay more than [...]]]></description>
			<content:encoded><![CDATA[<p>They say freelance writing will earn you enough money that you can simply bid farewell to your day job and say hello to early retirement. If that’s really true for someone &#8211; That someone should rather try that luck somewhere in Vegas.</p>
<p>Here’s a little reality check, if article writing is your niche then you’d be terribly disappointed to open your eyes to a bitter truth. No one would be willing to pay more than a dollar for a ‘well-written’ article around 500 words long. So where’s the money in ghostwriting- It’s in writing a Press Release.</p>
<p>One Press of around four hundred words can earn you around 20 to 30 times more compensation than an article of same length. However, many freelance writers refrain from taking PR projects just because they are not sure if they are good enough for it.</p>
<p><strong>How Press Release Writing is Different<br />
</strong><br />
To be honest, Press release writing requires almost the same level of writing skills as article or blog writing. The difference is only in the format, tone and a few tactics that can make it read like news. So, out of what I learned through my years of experience, here is a little help to let you know how press release writing differs from article writing:<br />
1. First of all, articles usually require catchy headings but for PR, you need a newsworthy headline. Something that clearly defines what the news is about. One simple tip to write a newsworthy headline is to use verbs such ‘launches’, ‘releases’, ‘announces’ or even ‘invites’ depending on the news you are propagating through the release. To make the headline catchy and exciting use adjectives such as ‘amazing’, ‘unique’, ‘innovative’, etc.<br />
2. Some press releases require a very serious and formal headline. You can’t afford to ward you readers away just for the sake of formal and no-nonsense tone, now can you? In such cases, we use subtitles. Subtitles are usually fun and exciting to read. Try flaunting all your creativity in that one line.<br />
3. Then comes the body! We usually start articles with generalized facts regarding whatever that is we are writing about. In case of blogs, we talk about personal experiences. In press release writing, neither is acceptable. PR needs to be current and up-to-date, and generalization doesn’t help here. The best solution is to start with current stats rather than general facts.<br />
4. Yes, you can’t talk about your personal experiences like you do in blogs. That will make it sound pitchy. People believe in news that comes from a neutral source and not from the fans or the business itself. So, for credibility sake, always keep a neutral and somewhat critical (positively) tone. Instead of writing ‘how great it is’, make predictions and speculations about how beneficial and helpful ‘it can be’.<br />
5. The greatest guide to ghostwriting, Rule#1 says, “Make it pitchy”- And that is exactly how you do it!<br />
Internet writing, be it an article or a press release, it’s all about marketing, so there has to be a sales pitch somewhere. But remember what we said about being neutral? So, the solution is to simply put the pitch in the quotes. Just tell them that the spokesperson said so, and you’ll stay clean.<br />
6. Finally, you end a press release not with a conclusion but an introduction. Write a short description of the company or the concerned person, add contact details and end it with three # signs. Yes, that’s mandatory for submitting your press releases online.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/difference-between-article-and-press-release-writing/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>How to get count of fans of any facebook fan page ( graph api )</title>
		<link>http://www.appniasoft.com/how-to-get-count-of-any-facebook-fan-page-graph-api/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-get-count-of-any-facebook-fan-page-graph-api</link>
		<comments>http://www.appniasoft.com/how-to-get-count-of-any-facebook-fan-page-graph-api/#comments</comments>
		<pubDate>Sat, 23 Jul 2011 17:08:53 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook fan count]]></category>
		<category><![CDATA[facebook how to]]></category>
		<category><![CDATA[graph api]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=112</guid>
		<description><![CDATA[Facebook fan pages are not a new word and almost everybody on this e-world know what is facebook and what are fanpages. A really good way to promote things. And for developers facebook introduce its graph api, a replacement of its rest api. And almost every techy person has read about this ( I hope ). Well what if anybody needs to get the total number of fans of any page via graph api??? So, [...]]]></description>
			<content:encoded><![CDATA[<p>Facebook fan pages are not a new word and almost everybody on this e-world know what is facebook and what are fanpages. A really good way to promote things. And for developers facebook introduce its graph api, a replacement of its rest api. And almost every techy person has read about this ( I hope ).</p>
<p>Well what if anybody needs to get the total number of fans of any page via graph api???<br />
So, here is a simple function to get this..<br />
I assume that you are using the facebook official php sdk. That you can download from <a href="https://github.com/facebook/php-sdk/" target="_blank">GITHUB</a>.<br />
<br />
The only thing that you need is the ID of that page  for which you want to get the count of fans
</p>
<pre class="brush: php; title: ; notranslate">
function fb_get_fancount($page_id)
{
	$fb = new Facebook(array(
        'appId'  =&gt; app_id,
        'secret' =&gt; app_secret,
        'cookie' =&gt; true, // enable optional cookie support
));
	$result = $fb-&gt;api(array(
    'method' =&gt; 'fql.query',
    'query' =&gt; 'select fan_count from page where page_id = '.$page_id
));
	$fb_fans = $result[0]['fan_count'];
	return $fb_fans;
}
</pre>
<p>Thats it. <img src='http://www.appniasoft.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /><br />
<br />
Hope this will help</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/how-to-get-count-of-any-facebook-fan-page-graph-api/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How to add Google plus one / Google plus 1 button to your website</title>
		<link>http://www.appniasoft.com/how-to-add-google-plus-one-google-plus-1-button-to-your-website/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-add-google-plus-one-google-plus-1-button-to-your-website</link>
		<comments>http://www.appniasoft.com/how-to-add-google-plus-one-google-plus-1-button-to-your-website/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 23:56:24 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[gplus]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[Misc]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[g plus]]></category>
		<category><![CDATA[google +]]></category>
		<category><![CDATA[google plus]]></category>
		<category><![CDATA[how to]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=107</guid>
		<description><![CDATA[As everybody know that the magic of facebook is on the peak. On every third website you will see atleast one facebook widget. Facebook like, facebook comment etc. That help you share the content to your network. Recently google introduce a GOOGLE PLUS ONE / GOOGLE PLUS 1 button. First of all lets discuss how we can add this button to any website. Adding google plus one button is as easy as writing your name. [...]]]></description>
			<content:encoded><![CDATA[<p>As everybody know that the magic of facebook is on the peak. On every third website you will see atleast one facebook widget. Facebook like, facebook comment etc. That help you share the content to your network.<br />
Recently google introduce a GOOGLE PLUS ONE / GOOGLE PLUS 1 button.<br />
First of all lets discuss how we can add this button to any website.<br />
Adding google plus one button is as easy as writing your name.<br />
Just include the javascript file to your code.</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;https://apis.google.com/js/plusone.js&quot;&gt;&lt;/script&gt;
</pre>
<p>And use the tag</p>
<pre class="brush: php; title: ; notranslate">
&lt;g:plusone&gt; &lt;/g:plusone&gt;
</pre>
<p>wherever you want to show it.<br />
That’s it.<br />
Google announce that this button will affect the search result so it means that this could be a good SEO technique to use this button on website.</p>
<p>But personally I feel that this google plus one button will be a fail project like google buzz because why any user will click on this plus one button??</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/how-to-add-google-plus-one-google-plus-1-button-to-your-website/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to upload video via Facebook Graph Api</title>
		<link>http://www.appniasoft.com/how-to-upload-video-via-facebook-graph-api/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-upload-video-via-facebook-graph-api</link>
		<comments>http://www.appniasoft.com/how-to-upload-video-via-facebook-graph-api/#comments</comments>
		<pubDate>Mon, 27 Jun 2011 22:05:07 +0000</pubDate>
		<dc:creator>Muhammad Farhan Bashir</dc:creator>
				<category><![CDATA[Facebook]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[facebook how to]]></category>
		<category><![CDATA[facebook php video upload]]></category>
		<category><![CDATA[facebook video upload]]></category>

		<guid isPermaLink="false">http://www.appniasoft.com/?p=83</guid>
		<description><![CDATA[As everybody know that facebook old rest api is going to be obsolete. Facebook launches its new api called GRAPH API. And doing changes day by day. Previously there was no method to upload video on facebook via graph api but in april 2011 facebook added the ability to upload video via graph api. The only bad thing of facebook is its documentation. Here is a sample that how you can upload a video via [...]]]></description>
			<content:encoded><![CDATA[<p>As everybody know that facebook old rest api is going to be obsolete. Facebook launches its new api called GRAPH API. And doing changes day by day. Previously there was no method to upload video on facebook via graph api but in april 2011 facebook  added the ability to upload video via graph api.</p>
<p>The only bad thing of facebook is its documentation. Here is a sample that how you can upload a video via graph api.<br />
First of all you need to get user_videos permission from user otherwise you won’t be able to upload video.</p>
<p>Now here is the sample code from facebook documentation that how you can upload video to facebook via graph api.</p>
<p>First of all note that instead of</p>
<pre class="brush: plain; title: ; notranslate">

https://graph.facebook.com
</pre>
<p>Your call will be</p>
<pre class="brush: plain; title: ; notranslate">

https://graph-video.facebook.com/{user}/videos
</pre>
<p>(now this user can be any user id,page id or group id)</p>
<p>I assume that you know how to get the access token</p>
<p>Lets say our access token is</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php $access_token=”xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”; ?&gt;
</pre>
<p>Two additional parameters can be sent with the video.<br />
1)	Title<br />
2)	Description</p>
<p>Lets say our title and description are</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
$title =  “Test Title”;
$description = “Test Description”;
?&gt;
</pre>
<p>Now by using the above data we can make our final call url, which will be</p>
<p>&nbsp;</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
$post_url = “https://graph-video.facebook.com/{user}/videos?access_token=”
                   .$access_token.”&amp;amp;title=”.$title.”&amp;amp;description=”.$description;
?&gt;
</pre>
<p>Now you can post a video by using this URL.</p>
<p>e.g</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
echo '&lt;form action=&quot; '.$post_url.' &quot; enctype=&quot;multipart/form-data&quot; method=&quot;POST&quot;&gt;';
echo 'Please choose a file:';
echo '&lt;input name=&quot;file&quot; type=&quot;file&quot; /&gt;';
echo '&lt;input type=&quot;submit&quot; value=&quot;Upload&quot; /&gt;';
echo ' &lt;/form&gt;';
?&gt;
</pre>
<p>I hope that this will help..</p>
]]></content:encoded>
			<wfw:commentRss>http://www.appniasoft.com/how-to-upload-video-via-facebook-graph-api/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

