Open hamedrnik opened 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.
We have still the problem. I think is.gd service is our problem, but I'm not sure. https://www.facebook.com/farsi.nerdnews
I think we need to have an app_id from facebook. Do we have one?
@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.
@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.
We would postpone it to the next version (2.0.0) :)
We have to find out why Nerdnews page in Facebook couldn't get Description and Thumbnail url. https://www.facebook.com/farsi.nerdnews