I want to upgrade FB PHP SDK to v5 but can't find any upgrade guide or so.
For now I'm using just FB login and registration through PHP SDK, but I also want to add getting data from OpenGraph /video/{video-id}
.
In OpenGraph docs I see every endpoint requires some $session
, but in PHP SDK I see that FacebookSession was deprecated in v5 (https://developers.facebook.com/docs/php/FacebookSession/5.0.0).
What do I need to change to keep my login/registration working and how do I get this session in v5? Or should I stick with v4 for now?