Files
2012-02-21 01:15:00 -05:00

1 line
5.5 KiB
JSON

[{"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306251761.499639, "message": "I have to call FB.init() at some point, but when I first inject the page the FB object doesn't exist.", "group_id": 236, "id": 1167266}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306251945.1291289, "message": "if (typeof FB != \"undefined\") { FB.init(...)} else {app.raise_event(\"not_ready\", {})}", "group_id": 236, "id": 1167307}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306251970.562444, "message": "Hopefully the FB object shows up sometime and I don't get stuck in an event loop.........", "group_id": 236, "id": 1167315}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306252035.98894, "message": "Any ideas on waiting for the FB object?", "group_id": 236, "id": 1167330}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306251692.5314491, "message": "I'm writing an extension to add a Facebook comments box to a website (WingCash.com).", "group_id": 236, "id": 1167249}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306251849.2523439, "message": "My next step looks like this:", "group_id": 236, "id": 1167288}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306251837.6462679, "message": "So I tried sending a web event after injection with the idea that by the time the second event is processed the FB object will be instantiated. This only works occasionally.", "group_id": 236, "id": 1167286}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306254110.6903551, "message": "you could use setInterval in javascript and check if FB is defined", "group_id": 236, "id": 1167592}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306254188.991287, "message": "how does the facebook js get included?", "group_id": 236, "id": 1167600}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306261609.1427431, "message": "use javascript resource \"url_here\" would make it work", "group_id": 236, "id": 1169038}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306261196.407722, "message": "I'm using append('head', script_tag);", "group_id": 236, "id": 1168939}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306262696.160522, "message": "OK I'll give it a try.", "group_id": 236, "id": 1169169}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306261576.9340889, "message": "yes this loads it asynchronously so FB might not be available when you call it", "group_id": 236, "id": 1169024}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306261789.722491, "message": "and one advice: test it early in KBX !", "group_id": 236, "id": 1169065}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306263120.3105581, "message": "Even works in KBX!", "group_id": 236, "id": 1169252}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306261761.7258911, "message": "otherwise use create a function that uses setinterval to call itself if it can't find FB", "group_id": 236, "id": 1169063}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306263988.647707, "message": "I posted it with my Goodeave facebook account, could that be the reason ?", "group_id": 236, "id": 1169390}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306263541.23805, "message": ":)", "group_id": 236, "id": 1169309}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306263096.672776, "message": "Oh awesome that worked! 'use javascript resource' rules!", "group_id": 236, "id": 1169247}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306263315.4861529, "message": "Works on Firefox, works on Chrome.", "group_id": 236, "id": 1169275}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306263212.1028521, "message": "yeah that's the best solution still, not very flexible though (for me)", "group_id": 236, "id": 1169268}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306263467.849529, "message": "Probably won't put it in general release, but you're welcome to give it a try.", "group_id": 236, "id": 1169292}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306263501.2899661, "message": "I will !", "group_id": 236, "id": 1169299}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306263707.826793, "message": "Working (just put a comment on https://wingcash.com/randomedia )", "group_id": 236, "id": 1169346}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306263443.1317749, "message": "I think KBX is good enough for this application. http://apps.kynetx.com/installable_apps/4244-fb-comments", "group_id": 236, "id": 1169289}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306264745.296597, "message": "Who knows? Anyway, thanks for your help.", "group_id": 236, "id": 1169510}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306263539.574343, "message": "It puts Facebook comments on WingCash profiles. You could leave a comment for http://wngc.sh/windley.", "group_id": 236, "id": 1169308}, {"user_id": 30462, "stars": [], "topic_id": 36594, "date_created": 1306263898.1160419, "message": "?? somehow I'm not seeing your comment.", "group_id": 236, "id": 1169374}, {"user_id": 30494, "stars": [], "topic_id": 36594, "date_created": 1306265399.1587989, "message": "I can see the comment you put on randomedia", "group_id": 236, "id": 1169627}]