Viewing 1 post (of 1 total)
  • Author
  • tccmike Friend

    So I was trying to initialize the facebook Like Box but it kept reverting my Page ID back to 2147483647 (Largest Value of An Integer)… I found the root cause is a filter that is being imposed on the box limits it to the size of a standard integer. The Facebook ID of our clinic is 254633312140 which is greater than 2147483647 by a couple orders of magnitude. So you can either update the database manually to get your ID in there (which then if you change any config value it gets reverted back to 2147483647) or fix the code.

    the code in question is: /modules/mod_jafacebooklikebox/mod_jafacebooklikebox.xml

    <field name="id" type="text" default="123144964369587" filter="integer" label="FACEBOOK_ID" description="DESC_FACEBOOK_ID" />

    Remove the part that says ‘filter=”integer”‘.
    So it becomes:

    <field name="id" type="text" default="254633312140" label="FACEBOOK_ID" description="DESC_FACEBOOK_ID" />

    Then it works great!

Viewing 1 post (of 1 total)

This topic contains 1 reply, has 1 voice, and was last updated by  tccmike 9 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum