You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But a commenter can also be a 'Page'.
While a Page and User both can act very similarly, there's at least one attribute that is different:
The hometown attribute on a User is a Page, but for a Page, the hometown is a string, causing this error to happen on this line:
In
FbGraph2::Comment
thefrom
attribute is defined as a 'user' https://github.com/nov/fb_graph2/blob/master/lib/fb_graph2/comment.rb#L9But a commenter can also be a 'Page'.
While a Page and User both can act very similarly, there's at least one attribute that is different:
The
hometown
attribute on a User is a Page, but for a Page, thehometown
is a string, causing this error to happen on this line:https://github.com/nov/fb_graph2/blob/master/lib/fb_graph2/attribute_assigner.rb#L71
@nov Would moving the
from
attribute to be custom make sense here?I'm not sure how else to fix this.
The text was updated successfully, but these errors were encountered: