this raises an interesting point. i believe the `facebook` and `twitter` fields have been deliberately not-defined so we can't assume that this function is going to work. this will do for now but may likely break in the future.