how to compute Facebook graph api cover offset_y to pixel?

前端 未结 6 2047
故里飘歌
故里飘歌 2020-12-17 05:54

I can retrieve facebook cover source and offset_y from graph api for example -

https://graph.facebook.com/Inna

I get this -

\"cover\": {
           


        
6条回答
  •  感情败类
    2020-12-17 06:37

    If you only set the negative percentage offset returned by Facebook API, it may work in 80% cases. However the only way to get 100% correct position is to use Claudios solution.

提交回复
热议问题