Archive for Program

Facebook Applications IE7 Session Problem

Facebook changed the way behaves to applications. What the new approach is, now on Facebook forces applications for developed in iFrame. So you can not select FBML anymore in the Application Settings Page. In this step, if you are using Sessions in your code, you will not be able to see expected results in IE7 because of its own bug. * You can just google it..

IE7 has a bug about Session expires in any refresh while you are inside an iFrame. To achieve this issue, you have to define P3P in your code (at header). For development this code will be life-saver..

PHP Code Block:

header('P3P:CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"');

 

ASP.NET Code Block:

HttpContext.Current.Response.AddHeader("p3p", "CP=\""IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT\""")

 

Resources:
http://gathadams.com/2007/06/25/how-to-set-third-party-cookies-with-iframe-facebook-applications/
http://stackoverflow.com/questions/4868251/facebook-iframe-application-ie7-not-allowing-cookies
http://stackoverflow.com/questions/306132/php-session-problem-only-in-ie-really-strange-problem

Rapportive: 2010′s best plugin!

I like the guys who invented rapportive and implemented like a charm. Gmail is trying something useless with Buzz but with this plugin, all my needs are handled now :) Because of that i’m thinking it is the 2010′s best plugin i’ve ever seen..

So what is special about rapportive? You’ve recieved some mail and wondered who is the sender, where is he/she working, what is his/her social accounts, etc.. You can see even last 3 tweets of sender. At this point, it saves lifes :)

Also the most useful point is that you can take notes about the sender, so you can remember with any other mail..

Google Docs Syncs Windows Office Officialy

Google Docs launched its new add-on over Windows Office for early users (Google Cloud Connect). Also we know that it is a new Google-integrated version of DocVerse which is acquired by Google in March 2010. But the main thing is, by this add-on, every user behavior will be / should be changed! Ok, MS Office users may love its platform but, come on guys! You have to be online as Google does.. This is a big fact that Google has the ropes in their hands nowadays so being platform-independent is the most valuable thing, so for me; the main point is you have to be up-to-date in every platform.

GoogleCloudConnect

The biggest positive aspect is to share your file via Google Docs, and track the file’s history as you did in the past if you used Google Docs. Maybe the small trick which will be the most useful is to see if there is a conflict occured while you were editing your file with someone else at the same time. You got it? You are editing your file in MS Office, and someone else is too at Google Docs, the same file, at the same time. Sounds cool, isn’t it?

GoogleCloudConnect - conflict resolution dialogue

Also here is the Google’s official blog post, and Mashable’s article.. Have a look for different point of views :) And you are interested in? Sign-up from here..

Gravatar Servisini Kullanmak (Güncellendi)

Gravatar’dan gelen fotoğrafım

Gravatar gittikçe kullanımı artan bir servis. Özelliği de şu, her sitede tekrar tekrar avatarlarınızı kaydedip güncelleme derdini 1 kerede, mail ile ilişkilendirerek tek yerden güncellemenize olanak sağlıyor. Kısaca, avatar değişikliğini kolayca ve heryerde değişmesini sağlıyor. Stilyaşam‘a da bu özelliği ekledik ki halihazırda kullanılan bir servis.

Kullanıcının Gravatar Oluşturması

1- www.gravatar.com‘ a gidin.

2- Sign-up tuşuna basın.

3- E-posta adresinizi girin. (Aktivasyon mail’i gelecek, oradaki url’ye tıklayarak geri gelin)

4- Kendi diskinizden yada internetten bir imaj seçip mail ile ilişkilendirin.
Artık Gravatar destekli bir sitede yorum yaptığınızda oradaki avatarınız ne ise, o sitede de o resminiz gözükecek. Sonradan değiştirseniz bile! Büyük kolaylık. Büyükşehir çalışıyor…

Websiteye Eklenmesi

Tabii bir de işin bu servisi siteye eklenmesi tarafı var ki, yaklaşık 10 saniyeyi alıyor:

1- Whitespace‘leri alınmış bir adet e-mail alınır,

2- md5‘den geçirilir,

3- Parametreler de eklenip gravatar url’si oluşturulur. Parametreler için avatar ebatı ve kullanıcı rating’i (avatar kaç yaşa uygun)

Örnek PHP kodu:

<?php echo 'http://www.gravatar.com/avatar/'.md5(trim($mailAdresi)).'?s=320'; ?>

Spotify Fransa Proxy Adresi

Eski blog’umda yazmıştım, bu yeni bloga taşırken yazmamışım. Bugün 3 kişi sordu sadece :)

Fransa Proxy’sine gerek duyuluyor:

1- Ayarlara girin

2- Proxy’e tıklayın

3- HTTPS’i seçin

4- IP: 87.98.150.137 , PORT: 3128

ve programı kapatıp açmanız yeterli…

Google Wave’e Twitter Hesabı Eklemek

Sonunda ben de Google Wave denemelerime başlayabildim. Sevgili Can Altıneller (http://friendfeed.com/winterismute) tarafından davetiyeme kavuştum.

Açıkçası Wave çok beta duruyor halen daha. Yeni protokol, yeni standardlar vesaire ile çok uğraşıldığından henüz önyüzde çok fazla ilerlenilememiş havası verdi bana, ama yine de çok güzel user-experience trick’leri var mı? Var. Özellikle ilerde Wave style scroll diye görmeye başlarız JQuery plugin’lerini.

Twitter için de application vari bir kutu değil de, yeni bir account ekleyerek becerebiliyoruz. Ben daha çok application kutuları bekliyordum ama öyle değilmiş maalesef. O yüzden twitter bot hesabı ekliyoruz (tweety-wave@appspot.com) hemen:

GoogleWave_AddContact-300x110

Sonra Twitter account’umuz geliyor arkadaş listemize ve Twitter’a login olup “Allow” dedikten sonra artık yeni Twit’imizi atıyoruz.

screen-capture-1

Tabii başka application’larda var bu şekilde çalışan, bunların listesi için şöyle bir adres vereyim:

http://techpp.com/2009/10/14/ultimate-list-of-google-wave-gadgets-and-tools/

Spotify ile ücretsiz müzik yeniden tanımlanıyor

Utku vasıtası ile an itibari ile tanışıp, “online music streaming” konusunda son noktayı koymuş bulunuyorum. Ne Last.fm, ne iTunes radio, ne soundklan, ne gncler, ne kolalar, ne kavun ne karpuz.. İşte budur!

Çok iyi bir filtreleme tool’u var. Kendi playlistlerinizi oluşturup o an çalan şarkıyı da atabiliyorsunuz. Muhtemelen tamamen yakında paralı olur bu çünkü ucunda telifler var. Ama kullanım rahatlığı, görselliği, basitliği 1 numara.. Kesinlikle on numara iş çıkmış ortaya. Bayıldım!

Nasıl BETA‘dan account kapılır onu anlatayayım adım adım…

1. hiload.org a girin

2. URL kısmına https://www.spotify.com/en/get-started/ yazın.

3. “Continue Anyway” diyerek devam ediyoruz.

4. Üyelik formunda Fransız ruhumuza bürünerek Fransa’nın 69008 posta kodunu kullanarak kayıt oluyoruz.

5. “Create account and proceed” diyerek tamamlıyoruz.

6. Sonrasında programı Download ederek yeni diyarlara yelken açıyoruz..