Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Enlarge post text field for Facebook content #409

Closed
ginatrapani opened this Issue · 7 comments

3 participants

@ginatrapani
Owner

Facebook posts which are longer than Twitter posts get cut off in ThinkUp; must enlarge post_text field to accommodate the content.

Step 1: Determine how wide the post_text field has to be to accomodate the largest-width Facebook post.

Step 2: Create a database migration to widen the field. See: How to change the ThinkUp database structure guide
https://github.com/ginatrapani/ThinkUp/wiki/Developer-Guide:-How-to-Change-the-Database-Structure

@rwinikates

Max facebook status update is 420 characters (including spaces).

@rwinikates

I should note, I'm working on the db migration script too, just for clarity's sake

@ginatrapani
Owner

Great. Then it looks like we have to change the post_text field from varchar to a text type to accomodate 420 characters. Hopefully this won't affect any of the indexes (like the fulltext index). Luckily the tests should let us know if there are any effects.

@waxpancake

rwinikates: Any update on this? Looks like you deleted your fork...?

@ginatrapani
Owner

Issue #409: Enlarge post text field for Facebook content

  • Facebook statuses can be up to 420 characters
  • Closed by 3223bcd, Closed by 3223bcd
@rwinikates

Sorry all, ended up in the hospital for a while and have been catching up at work, sorry for letting this languish.

@waxpancake

Ack! Sorry to hear that, hope you're doing better.

@unruthless unruthless referenced this issue from a commit in unruthless/ThinkUp
@waxpancake waxpancake Issue #409: Enlarge post text field for Facebook content
* Facebook statuses can be up to 420 characters
* Closes #409, closes #572
3223bcd
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.