A couple of issues with feeds
Michael Madrid
15 posts
|
Had a couple problems with feeds (I’m using recent github version of facebooker): 1. When registering the template, the table to store template ids couldn’t be created. I did this manually, but might want to be checked to see if this is working correctly. 2. If you don’t include any data (calling the data method) in the xxx_feed method of your publisher, it seems you get an error: StandardError (Template data must be a JSON-encoded dictionary, of the form {‘key-1’: ‘value-1’, ‘key-2’: ‘value-2’, ...}): /vendor/plugins/facebooker/lib/facebooker/parser.rb:455:in `process’ I’d be nice if facebooker defaults to adding dummy data if none is specified. |
Mike Mangino
148 posts
|
Did the migration get created for you? Creating a publisher should generate a migration. I like your suggestion on the data issue. I’ll try to add a fix to Facebooker. |
Michael Madrid
15 posts
|
No in my case the migration didn’t get added so I just added it manually. |
3 posts, 2 voices
