Add parameters for Facebook-API-call
Issue #7
resolved
In the FacebookAdapter (PlusB\PbSocial\Adapter\FacebookAdapter) the fields which are requested from the Facebook-API are hard-coded:
'fields' => 'id,link,message,picture,comments.limit(999),created_time,full_picture,reactions.limit(9999)'
When you want to get FB-posts of FB-pages with many comments & likes, the request fails because the JSON is too big.
It would be an enhancement if you could set the fields via Typoscript or flexform. What do you think? I could work on it and create a pull request.
Comments (2)
-
-
- changed status to resolved
This feature is part of Version 1.3.2.
you can now use a typoscript constant to define which fields / parameters should be sent back
- Log in to comment
Hi Christian,
this is indeed an issue. Would be great if you could work on it and create a pull request! Thanks a lot!
Robert