jnaqsh / nerdnews

A free and open source social news website focusing on computer science and FOSS news for Persian community
http://nerdnews.ir/
43 stars 13 forks source link

Problem in shortener URL #64

Open hamedrnik opened 11 years ago

hamedrnik commented 11 years ago

We have to find out why Nerdnews page in Facebook couldn't get Description and Thumbnail url. https://www.facebook.com/farsi.nerdnews

arashm commented 11 years ago

After investigating little more, the answer seems to be simple. Because format.json was put on top of format.html rails gave json priority over html and was loading json when Facebook crawler fetch data. I changed the order and it should fix the issue.

hamedrnik commented 11 years ago

We have still the problem. I think is.gd service is our problem, but I'm not sure. https://www.facebook.com/farsi.nerdnews

arashm commented 11 years ago

I think we need to have an app_id from facebook. Do we have one?

hamedrnik commented 11 years ago

@arashm Facebook nerdnews page is attached to twitter nerdnews account. Every tweets goes in Facebook page as well and I think we don't need app_id.

arashm commented 11 years ago

@iCEAGE I just checked our post individually and it's working. I also checked is.gd and t.co urls and they are working too. I don't know if you changed anything or not but it's working after all (if you wanna check, just test our last post, other urls are cached on facebook servers). A question? why are we using is.gd while twitter automatically converts url to t.co? Right now the t.co url is pointing to is.gd and then it goes to nerdnews. it seems a little over bloated.

hamedrnik commented 11 years ago

We would postpone it to the next version (2.0.0) :)