Posts tagged "facebook"

Ajax Tutorial With Fbjs In Facebook Application


Facebook has set the programming language of their own property diadapsi from other types of programming languages. Examples are JavaScript turned into FBJS (Facebook JavaScript). This change makes some standard function can not walk, such as the innerHTML is replaced with setInnerFBML. Therefore here we will try to run AJAX through FBJS. The example is here is simple, you can develop further through the article in http://wiki.developers.facebook.com/index.php/FBJS/Examples/Ajax.

The first step you need to create a function to run on FBJS AJAX, here we use the function “go_ajax”. Here’s the code, save as “index.php” in your canvas url. URL used as a callback to be “absolute path” or easier to use the full URL of your domain name. Here are a few things to note from the process on FBJS AJAX.

Note that url must be full, absolute path to file on your server — not a canvas page (apps.facebook…).
One you should note that there is no “setInnerHtml” call in FBJS for security reasons. If you want to add dynamic HTML you must add it on the server side and pass it using the setInnerFBML call. (Beta. You can now use setInnerXHTML to pass HTML back from Ajax calls. You can also use FBJS_LocalProxy to bypass the Facebook server hop.)
Don’t pass HTML with setTextValue because it won’t work.
Ajax has an apparent short ~10 second max timeout! –Does anyone have an alternative for queries that may take longer for some users?
Be aware of silent 5000 byte size limit to JSON replies if JSON is not perfect (use json_encode to avoid this bug) http://bugs.developers.facebook.com/show_bug.cgi?id=363
Ideally the url will point to a non-static location that has content sent through some form of CGI. In formal language, the url must respond to a request for application/x-www-form-urlencoded content.
When using JSON and setInnerFBML, the prefix of the FBML parameter has to be ‘fbml_’. The parameter will then be sanitised, and passed on to setInnerFBML.

Currently, only FBJS able to send POST data, so I suggest the script callback to use the variable $ _REQUEST to obtain data that is sent. Then for the server side, we will only make a simple script that will restore the data that is sent. Copy this code and save as “callback.php“.

When you running this script, then server will return data in array with alert javascript.  For demo check my music application in http://apps.facebook.com/mpthreeecho/, I’ve use it for “send to friend” feature. Hopefully this article can help in running the AJAX in your Facebook applications.

Make sure you register as develepor Facebook, to get the API Key and Secret API. Read the article “http://buzzknow.com/2010/03/04/creating-a-simple-facebook-application-tutorial-with-php/” for more information.

Buzzknow founder
Sharing Knowledge Of Internet
Remote Wireless Speakers
Article Source



1 comment - What do you think?
Posted by Anand Narayanaswamy - March 14, 2010 at 12:37 am

Categories: Programming   Tags: Ajax Tutorial, briefly about c# and c# tools, c sharp compiler download, c# compilers, C# keywords classified, develop in c# in windows98, download C# compiler for windows xp, download different Types Of Compilers in C#, explain briefly about c# and c# tools, facebook, multiform application in C#.Net, scriptmanagerproxy example

Increase the traffic of your website effectively in a step by step manner

When it comes to Internet Marketing, there are a lot of material out there that are basically rehashed ebooks that go on about the same tiresome things. I was half expecting Instant Fast Traffic to be the same, because admittedly I’ve become jaded to these products that are churned out on a regular basis. I even had the intention to check it out, and then refund before the 60 days guarantee expired. Surprisingly however, I found that Instant Fast Traffic was a diamond in the rough, because the strategies covered within all its three modules were intriguing, to say the least.

http://www.learnxpress.com/instantfasttraffic

The brains behind Instant Fast Traffic are Joel Chue and Alvin Huang, guys I haven’t even heard about, but if Instant Fast Traffic is anything to go by, these guys are the ones to watch. Instant Fast Traffic is a 3 Module guide on traffic generation strategies, and each module is guaranteed to give you a free pass to a massive source of traffic from practically anywhere on the Internet. You’ll find strategies covering link building to article directory submissions, and even social networking. Let’s take a closer look at what these 3 modules cover.

The first module, called Search Domination Traffic, talks about strategies in which any marketer can use to get their websites optimized for search engines through link building. From email signatures to classifieds to web rings, these elements are often overlooked, but surprisingly highly effective in getting your links out there for the droves of traffic to click through. I personally have never thought of using Wikipedia as a source of free traffic, so it came as a surprise when I discovered that I could indeed funnel traffic from Wikipedia and onto my website.

The second module, aptly named Content Traffic Invasion, covers content strategies and viral strategies. In essence, it teaches you how to optimize your sites and links using keywords, how article directory submissions can give you those much needed backlinks, and how forum marketing can be a highly effective tool in your traffic generation efforts. It also covers strategies that can make your links viral, from using quizzes to giving away free content, and even using Resell Rights Products to generate massive traffic to your sites.

The last module, Underground Traffic Funnels, discusses ways social networking sites can be used to promote your links, and how one can make their links even more viral through these sites. From social bookmarking to using MySpace and Facebook, Joel and Alvin leaves no stone unturned as they discuss practically every aspect there is to know about getting your links out there through social networking, joint ventures, and even offline strategies that you can leverage on.

Newbies don’t even have to worry about getting lost in all that information. There are process maps that detail exactly what needs to be done in a easy-to-understand guide for each of the modules, so I don’t see where anyone can’t succeed using the strategies discussed in Instant Fast Traffic. All in all, this is one resource I would recommend if you’re in need of a quick – no, instant – traffic boost.

http://www.learnxpress.com/instantfasttraffic

Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - March 13, 2010 at 12:36 am

Categories: Marketing   Tags: Alvin Huang, article marketing, briefly about c# and c# tools, c sharp compiler download, c# compilers, C# keywords classified, develop in c# in windows98, download C# compiler for windows xp, download different Types Of Compilers in C#, explain briefly about c# and c# tools, ezinearticles, facebook, increasing website traffic, instant fast traffic, Joel Chue, multiform application in C#.Net, twitter

Facebook with Microsoft Silverlight

Microsoft has created a sample client application for facebook. Developed using Silverlight 4 Beta, it has a great user interface and inherits all the core features of facebook into your desktop.

Read more…

Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - January 26, 2010 at 6:15 am

Categories: Channels, News, Silverlight   Tags: "visual studio 2010" "pictures toolbar", anoop madhusudanan, briefly about c# and c# tools, c sharp compiler download, c# compilers, C# keywords classified, develop in c# in windows98, download C# compiler for windows xp, download different Types Of Compilers in C#, explain briefly about c# and c# tools, facebook, high volume wcf pollingduplex call, microsoft silverlight, multiform application in C#.Net, sample silverlight application imaging, scada silverlight, silverlight, silverlight 4, silverlight 4.0 whiteboard, silverlight DataPointSeries Mouse Event, Silverlight DICOM, silverlight dragEnter, silverlight dragEnter dragOver dragLeave example, silverlight emf, silverlight scada wcf, silverlight toolkit "drag drop treeview", silverlight toolkit dragenter event, Silverlight WCF polling duplex white board, Silverlight4 tif, windows forum consumes silverlight duplex polling, www.silverlightconfiguration.net

Linkedin,WordPress, Twitter and Facebook

Imagine that you have completed a degree course and waiting for a job. Spending alone at home. Don’t waste your time. You can spend your spare moments by visiting various websites which will ultimately expose you to the outside world.

Linkedin

It is a popular site to record your professional achievements, awards and projects. You will get an unique link like www.linkedin.com/in/anandnswamy which you can provide to potential employers. You can include your past and current employment positions along with other achievements and recongnitions.

WordPress

You can now create blogs for free using WordPress hosted platform. This means that you need not have to buy a domain to host your blog. Instead, you will be provided with a unique sub domain URL like http://<Your_User_Name>.wordpress.com. You just need to register at www.wordpress.com and start your blogging life in style with predefined themes.

However, if you would like to customize your site then you can buy a hosting plan from a reliable provider and host your WordPress site by uploading the required files. You have to follow certain steps to install the blog and also you have access to thousands of free themes which can downloaded from various websites.

Twitter

It is a very popular micro blogging platform. You need not have to write a long blog post. Instead you can simply record your hourly/daily/weekly activities. I would suggest you not to include your twitter link in your resume as it will look less professional. You can however exchange links during informal meetings, conversations and in business cards.

FaceBook

FaceBook is a popular site using which you can build friendships. You have to either manually add friends or can search after registration. Over the period of time, your network will grow rapidly if you make use of all the features on the site by following their terms and conditions. Please do not add strangers as friends as you never know of their identity and also don’t share your personal details over the social networking sites.

NOTE: Please note that your username will be banned if you fail to follow the rules as laid down by the above sites.

You can reap rich benefits if you make maximum use of all the features on the above mentioned websites. Your name and professional status will be exposed to the outside world which will ultimately benefit you in long run.

[tag]linkedin, wordpress, twitter, facebook, social media, blogs, blog[/tag]

Be the first to comment - What do you think?
Posted by Anand Narayanaswamy - June 30, 2009 at 10:22 am

Categories: Channels, Internet, Latest   Tags: briefly about c# and c# tools, c sharp compiler download, c# compilers, C# keywords classified, develop in c# in windows98, download C# compiler for windows xp, download different Types Of Compilers in C#, explain briefly about c# and c# tools, facebook, linkedin, multiform application in C#.Net, social networking, twitter, wordpress