Browse by Tags
All Tags »
Web (
RSS)
A few month ago I wrote a post about “ Search Facebook Friends With Jquery Autocomplete ”. The problem that after a while it become not relevant due to the changes in the jquery autocomplete API. Due to many requests that I got (in comments,emails, facebook, twitter) I decided to update it. So here we go... Before I start I have to admit that I don’t like the new API it is too hacky to make a custom autocomplete and it is not documented! . Before we implements "Search Facebook Friends With jQuery"...
Today we had our 1st developers meet-up @conduit. I made a session on node.js Socket.IO and the Real-time web. You can find the slides here: http://www.slideshare.net/alonnativ/nodejs-socketio It was fun! Keep Writing, Compiling, and Debugging Alon Nativ Follow @anativ
As you know you can’t make an Ajax cross domain request. The browser block this kind of requests. To enable Cross-Origin Requests (CORS) you need to add some headers to the server response: “Access-Control-Allow-Origin” and “Access-Control-Allow-Methods”. So I made a MVC filter that will allow cross domain calls: public class AllowCrossDomain : ActionFilterAttribute { public const string AllDomains = "*" ; private readonly string [] _allowMethods; private string _allowOrigin; ...
Recently I was asked question how to get the image or the comment when using Facebook FQL API to get notification. http://developers.facebook.com/docs/reference/fql/notification/ It is very easy to make an application that will show the basic notification like that looks like: “David has comment on your link” “James liked your photo” You can see more samples at this link: http://www.facebook.com/notifications.php Well there is no documentation of how to do it (and there is not even a clean way to...
Just wanted to create a web logger in MVC. The idea is the same as Google analytics that a client will send data from the "client side" to the server. The server will save the data and return “Image Pixel” just like any other normal web logger. In order to do that I have created an ImagePixel ActionResult. The server logger method will look something like that: public ActionResult Logger( string trackingData) { Log(trackingData); return new ImagePixelResult(); } The ImagePixelResult is...
Just added Google +1 to my blog. The +1 is the Google "like" button. It should help Google to find what kind of pages people are interested in and improve the search experience. In order the add the +1 button go to the documentation add to your page: <!-- Place this tag in your head or just before your close body tag --> <script type= "text/javascript" src= "http://apis.google.com/js/plusone.js" ></script> <!-- Place this tag where you want...
Just made a small autocomplete textbox that search a user friends from Facebook. it is a pretty simple implementation that allow the user to search for his friends. In order to use it you will need to get a valid access_token from Facebook (but you can read more in how to use the Facebook graph API at http://developers.facebook.com/docs/reference/api/ – or get a sample one). There are a few tricks in the implantation Use dataType: ‘jsonp’ – undocumented option that allow us to use jsonp instead of...