[Answer]-Facebook not consistently scraping information as per OG meta tags

1👍

It seems that NGINX is causing the http calls to the Facebook graph API not to work properly. When

fbWallPost  = graph.put_wall_post(message=fbmsg,  attachment=fbpost, profile_id=pageID)

is run through Celery (which runs separately to django, and not through the web server), facebook scrapes the posted link and shows the image and description linked to by the OG meta tags. When django runs put_wall_post, the post occurs, but facebook does not scrape the link. Other calls to the API also don’t work when run from a Django view. I can only think that NGINX is interfering with the HTTP request in some way.

Leave a comment