首页 > 解决方案 > Use Cookie to Authenticate a Facebook Account for Remote Screenshot

问题描述

I am working on a project that will display a screenshot of a user's Facebook page on the site. However, Facebook must be suspicious of the activity as they are not letting the screenshot service past the login screen and returns blank photos on occasion. We use the same service for Instagram and are able to pass through a cookie called "sessionid" that we pulled from a personal account and it effectively logs the screenshot service into the Instagram account so we can take the photo. Is there a cookie for Facebook that does the same thing or something similar?

The service I am using is UrlBox.io and it allows cookies and headers to be set for screenshot the site as well as js. We want a screenshot and not embedding the page on the site.

标签: facebookcookiessession-cookiesscreenshotsession-variables

解决方案


推荐阅读