Updates from April, 2011 Toggle Comment Threads | Keyboard Shortcuts

  • danielsaidi 10:19 am on April 5, 2011 Permalink | Reply
    Tags: chrome, , ie, opera, safari,   

    fonts.com web fonts does not work with new Firefox 

    After automatically upgrading to the latest Firefox version, the fonts.com web fonts at my site have stopped working. Quite annoying!

    I guess that you really cannot expect a 3rd party plugin to work 100% with new browser updates. Still, this is not a problem at all in IE, Chrome, Safari, or Opera, where the fonts display as they should.

    Sadly, this issue is yet another annoyance in the downhill tale of Firefox. It’s slower than before, pushing out updates, asking me again again about updating my plugins etc. etc…and now this.

    Chrome has never felt closer to be my default browser.

     
    • Johan Driessen 12:58 pm on April 5, 2011 Permalink | Reply

      On the other hand, “Tabs from Other Computers” is awesome if you use multiple computers, and especially if you use firefox on your mobile phone as well. Oh, right, you’re using iPhone, Steve won’t let you… 🙂

      • danielsaidi 1:36 pm on April 5, 2011 Permalink | Reply

        Aaaaaw…but I want to 😦 No, but seriously…tabs from other computers? Call me a traditionalist, but doesn’t that seems like a weird thing to use tabs for? Why would I?

  • danielsaidi 9:32 pm on April 4, 2011 Permalink | Reply
    Tags: ankhsvn, , , git Bash, git extensions, , tfs,   

    Embed Git Bash into Visual Studio 

    I have started using git with my private .NET projects. It works really well, but even though I use TFS and AnkhSVN, which are both graphical tools, I do not like to work with git through Git Extensions. I use the terminal when working with git in OS X, and that’s the way I like it.

    So, being a Git Bash kinda guy in Windows, I find it annoying to have the bash in a separate window when working in Visual Studio, when IDE:s like Aptana Studio embeds it so well. After a quick search, I found some people who shared this frustration (I may exaggerate a bit) here:

    http://coderjournal.com/2011/03/adding-git-command-line-to-visual-studio/

    Happy joy! I’ll try it out tomorrow and write a short comment about how it went. Stay tuned.

     
  • danielsaidi 7:54 pm on April 4, 2011 Permalink | Reply
    Tags: authentication, , facebook api, localhost   

    Running Facebook authentication on localhost 

    It has sure taken its sweet time, but I have finally started working with an ASP.NET MVC3 project that will use the Facebook API to create and login users. It’s really easy, and quite cool, and I curse myself for not having a look at this earlier.

    However, after creating a Facebook app and pasting in the short code snippet that lets you log in with your Facebook account, I noticed that I was not allowed to do so from my localhost:

       API Error Code: 191
       API Error Description: The specified URL is not owned by the application
       Error Message: redirect_uri is not owned by the application.

    Sure, you must enter an app URL when you register your app, but I really expected it to be possible to use the API while developing locally…

    …and it turned out that it is. This is how you do it:

    • Create a web site, if you do not have one already
    • Create the FB app that will be used by the web site
    • Give the FB app an URL that you can manage, e.g. http://myapp.mydomain.com/
    • Make sure that the URL exists – it can be an empty folder, but it must exist and be public
    • If you upload some of the FB code snippets to this URL, they should work.

    To enable the FB features on localhost, you must create a web site with the same binding as the URL above. I have only tried this with IIS 7 / Windows 7 – please let me know if you make it work on Apache, in OS X etc.

    That’s it. Note, however, that some FB features will not work if the live site misses certain pages. For instance, if you use the Like button to like a local page, it will not work if the URL does not exist at the live site.

     
    • kanishka 12:23 pm on April 16, 2011 Permalink | Reply

      thanks for the post.
      i am not able to bind my site on the local host in the way you specified..i am using windows 7..Can you tell what all should be mentioned for the following text boxes:–

      Site name
      Physical Path
      binding : type, ip , port
      Host name

      thanks,
      kanishka

      • danielsaidi 9:50 pm on May 1, 2011 Permalink | Reply

        Hi!

        Just go to the IIS manager, right-click the web site in the tree view and choose “Edit bindings”. There, you just have to set the host name to be the same url as the one that Facebook connect uses. Leave everything else as is, click ok, and you should be good to go…but remember to also add the url to your hosts file.

    • vidjinvideos 10:32 pm on November 27, 2011 Permalink | Reply

      Not working 😦

    • Sachin 11:04 am on July 26, 2013 Permalink | Reply

      thanks a lot.. I was not adding name in host file, finally got the clue from your article and works for me.. thanks a lot again

c
Compose new post
j
Next post/Next comment
k
Previous post/Previous comment
r
Reply
e
Edit
o
Show/Hide comments
t
Go to top
l
Go to login
h
Show/Hide help
shift + esc
Cancel