<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body bgcolor="#ffffff" text="#000066"> I''m trying to migrate from the 0.9.5 gem to the current git copy and I''m getting "Could not find configuration information for secret" which make me think I''m missing a init call or two.<br> <br> Thanks-- Mike<br> </body> </html>
Are you using a gem or a plugin? Do you have a config/facebooker.yml file? Mike On Sep 8, 2008, at 3:37 PM, Mike Summers wrote:> I''m trying to migrate from the 0.9.5 gem to the current git copy and > I''m getting "Could not find configuration information for secret" > which make me think I''m missing a init call or two. > > Thanks-- Mike > _______________________________________________ > Facebooker-talk mailing list > Facebooker-talk at rubyforge.org > http://rubyforge.org/mailman/listinfo/facebooker-talk-- Mike Mangino http://www.elevatedrails.com
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000066"> <font face="Helvetica, Arial, sans-serif">gem, yes working config/facebooker.yml (with the 0.9.5 gem)<br> <br> My problem maybe more fundamental... can I use the git distribution in a non-Rails environment? It looks like we need the git updates for the new FB profile.<br> <br> Thanks for your time.<br> </font><br> Mike Mangino wrote: <blockquote cite="mid:6A2CAAB6-F6FF-4858-B771-1116A2527E32@elevatedrails.com" type="cite">Are you using a gem or a plugin? <br> <br> Do you have a config/facebooker.yml file? <br> <br> Mike <br> <br> On Sep 8, 2008, at 3:37 PM, Mike Summers wrote: <br> <br> <blockquote type="cite">I''m trying to migrate from the 0.9.5 gem to the current git copy and I''m getting "Could not find configuration information for secret" which make me think I''m missing a init call or two. <br> <br> Thanks-- Mike <br> _______________________________________________ <br> Facebooker-talk mailing list <br> <a class="moz-txt-link-abbreviated" href="mailto:Facebooker-talk@rubyforge.org">Facebooker-talk@rubyforge.org</a> <br> <a class="moz-txt-link-freetext" href="http://rubyforge.org/mailman/listinfo/facebooker-talk">http://rubyforge.org/mailman/listinfo/facebooker-talk</a> <br> </blockquote> <br> -- <br> Mike Mangino <br> <a class="moz-txt-link-freetext" href="http://www.elevatedrails.com">http://www.elevatedrails.com</a> <br> <br> <br> <br> <br> </blockquote> </body> </html>
You may be the first person to try to use the newer version outside of Rails. I would guess that we will need to fix up the manifest to include the new files. It sounds like the initialization needs a little work too. I can definitely give you some guidance on what might need to change if you want to give it a shot. Mike On Sep 8, 2008, at 4:51 PM, Mike Summers wrote:> gem, yes working config/facebooker.yml (with the 0.9.5 gem) > > My problem maybe more fundamental... can I use the git distribution > in a non-Rails environment? It looks like we need the git updates > for the new FB profile. > > Thanks for your time. > > Mike Mangino wrote: >> >> Are you using a gem or a plugin? >> >> Do you have a config/facebooker.yml file? >> >> Mike >> >> On Sep 8, 2008, at 3:37 PM, Mike Summers wrote: >> >>> I''m trying to migrate from the 0.9.5 gem to the current git copy >>> and I''m getting "Could not find configuration information for >>> secret" which make me think I''m missing a init call or two. >>> >>> Thanks-- Mike >>> _______________________________________________ >>> Facebooker-talk mailing list >>> Facebooker-talk at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/facebooker-talk >> >> -- >> Mike Mangino >> http://www.elevatedrails.com >> >> >> >>-- Mike Mangino http://www.elevatedrails.com
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000066"> <font face="Helvetica, Arial, sans-serif">You have time that would be great, I''d really like to get this working.<br> <br> Let me know how you want to proceed.<br> <br> Thanks a lot.<br> </font><br> Mike Mangino wrote: <blockquote cite="mid:DB71FAA7-9711-4B70-B38A-C62680F75E36@elevatedrails.com" type="cite">You may be the first person to try to use the newer version outside of Rails. I would guess that we will need to fix up the manifest to include the new files. It sounds like the initialization needs a little work too. I can definitely give you some guidance on what might need to change if you want to give it a shot. <br> <br> Mike <br> <br> On Sep 8, 2008, at 4:51 PM, Mike Summers wrote: <br> <br> <blockquote type="cite">gem, yes working config/facebooker.yml (with the 0.9.5 gem) <br> <br> My problem maybe more fundamental... can I use the git distribution in a non-Rails environment? It looks like we need the git updates for the new FB profile. <br> <br> Thanks for your time. <br> <br> Mike Mangino wrote: <br> <blockquote type="cite"><br> Are you using a gem or a plugin? <br> <br> Do you have a config/facebooker.yml file? <br> <br> Mike <br> <br> On Sep 8, 2008, at 3:37 PM, Mike Summers wrote: <br> <br> <blockquote type="cite">I''m trying to migrate from the 0.9.5 gem to the current git copy and I''m getting "Could not find configuration information for secret" which make me think I''m missing a init call or two. <br> <br> Thanks-- Mike <br> _______________________________________________ <br> Facebooker-talk mailing list <br> <a class="moz-txt-link-abbreviated" href="mailto:Facebooker-talk@rubyforge.org">Facebooker-talk@rubyforge.org</a> <br> <a class="moz-txt-link-freetext" href="http://rubyforge.org/mailman/listinfo/facebooker-talk">http://rubyforge.org/mailman/listinfo/facebooker-talk</a> <br> </blockquote> <br> -- <br> Mike Mangino <br> <a class="moz-txt-link-freetext" href="http://www.elevatedrails.com">http://www.elevatedrails.com</a> <br> <br> <br> <br> <br> </blockquote> </blockquote> <br> -- <br> Mike Mangino <br> <a class="moz-txt-link-freetext" href="http://www.elevatedrails.com">http://www.elevatedrails.com</a> <br> <br> <br> <br> <br> </blockquote> </body> </html>
I just committed a few changes that allow me to refresh a URL ref from irb without require rails. Basically, you''ll need to update to the latest version of the code and run rake package and then install the resulting 0.9.9 gem From your ruby application, you can run: Facebooker.load_configuration("config/facebooker.yml") to load the configuration. It expects a yaml file without the environments. So just: api_key: secret_key: canvas_page_name: callback_url: tunnel: public_host_username: public_host: public_port: 4007 local_port: 3000 Let me know how that works. Mike On Sep 8, 2008, at 5:21 PM, Mike Summers wrote:> You have time that would be great, I''d really like to get this > working. > > Let me know how you want to proceed. > > Thanks a lot. > > Mike Mangino wrote: >> >> You may be the first person to try to use the newer version outside >> of Rails. I would guess that we will need to fix up the manifest to >> include the new files. It sounds like the initialization needs a >> little work too. I can definitely give you some guidance on what >> might need to change if you want to give it a shot. >> >> Mike >> >> On Sep 8, 2008, at 4:51 PM, Mike Summers wrote: >> >>> gem, yes working config/facebooker.yml (with the 0.9.5 gem) >>> >>> My problem maybe more fundamental... can I use the git >>> distribution in a non-Rails environment? It looks like we need the >>> git updates for the new FB profile. >>> >>> Thanks for your time. >>> >>> Mike Mangino wrote: >>>> >>>> Are you using a gem or a plugin? >>>> >>>> Do you have a config/facebooker.yml file? >>>> >>>> Mike >>>> >>>> On Sep 8, 2008, at 3:37 PM, Mike Summers wrote: >>>> >>>>> I''m trying to migrate from the 0.9.5 gem to the current git copy >>>>> and I''m getting "Could not find configuration information for >>>>> secret" which make me think I''m missing a init call or two. >>>>> >>>>> Thanks-- Mike >>>>> _______________________________________________ >>>>> Facebooker-talk mailing list >>>>> Facebooker-talk at rubyforge.org >>>>> http://rubyforge.org/mailman/listinfo/facebooker-talk >>>> >>>> -- >>>> Mike Mangino >>>> http://www.elevatedrails.com >>>> >>>> >>>> >>>> >> >> -- >> Mike Mangino >> http://www.elevatedrails.com >> >> >> >>-- Mike Mangino http://www.elevatedrails.com
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000066"> <font face="Helvetica, Arial, sans-serif">I was just about to send you a note and tell you I have this on the run :-)<br> <br> What I''ve done is create a faux controller and copy most of the existing controller code into it.<br> <br> There are a couple of environment tweaks and now I''m working through the Rails specific bits (eg url_for, ...)<br> <br> Once I have this well tested I''ll drop you a note.<br> <br> Thanks for the info, it helps.<br> </font><br> Mike Mangino wrote: <blockquote cite="mid:D7686333-0A14-493A-9CE5-455DD7E1AE2E@elevatedrails.com" type="cite">I just committed a few changes that allow me to refresh a URL ref from irb without require rails. <br> <br> Basically, you''ll need to update to the latest version of the code and run rake package and then install the resulting 0.9.9 gem <br> <br>>From your ruby application, you can run:<br> <br> Facebooker.load_configuration("config/facebooker.yml") <br> <br> to load the configuration. It expects a yaml file without the environments. So just: <br> <br> api_key: <br> secret_key: <br> canvas_page_name: <br> callback_url: <br> tunnel: <br> public_host_username: <br> public_host: <br> public_port: 4007 <br> local_port: 3000 <br> <br> Let me know how that works. <br> <br> Mike <br> <br> On Sep 8, 2008, at 5:21 PM, Mike Summers wrote: <br> <br> <blockquote type="cite">You have time that would be great, I''d really like to get this working. <br> <br> Let me know how you want to proceed. <br> <br> Thanks a lot. <br> <br> Mike Mangino wrote: <br> <blockquote type="cite"><br> You may be the first person to try to use the newer version outside of Rails. I would guess that we will need to fix up the manifest to include the new files. It sounds like the initialization needs a little work too. I can definitely give you some guidance on what might need to change if you want to give it a shot. <br> <br> Mike <br> <br> On Sep 8, 2008, at 4:51 PM, Mike Summers wrote: <br> <br> <blockquote type="cite">gem, yes working config/facebooker.yml (with the 0.9.5 gem) <br> <br> My problem maybe more fundamental... can I use the git distribution in a non-Rails environment? It looks like we need the git updates for the new FB profile. <br> <br> Thanks for your time. <br> <br> Mike Mangino wrote: <br> <blockquote type="cite"><br> Are you using a gem or a plugin? <br> <br> Do you have a config/facebooker.yml file? <br> <br> Mike <br> <br> On Sep 8, 2008, at 3:37 PM, Mike Summers wrote: <br> <br> <blockquote type="cite">I''m trying to migrate from the 0.9.5 gem to the current git copy and I''m getting "Could not find configuration information for secret" which make me think I''m missing a init call or two. <br> <br> Thanks-- Mike <br> _______________________________________________ <br> Facebooker-talk mailing list <br> <a class="moz-txt-link-abbreviated" href="mailto:Facebooker-talk@rubyforge.org">Facebooker-talk@rubyforge.org</a> <br> <a class="moz-txt-link-freetext" href="http://rubyforge.org/mailman/listinfo/facebooker-talk">http://rubyforge.org/mailman/listinfo/facebooker-talk</a> <br> </blockquote> <br> -- <br> Mike Mangino <br> <a class="moz-txt-link-freetext" href="http://www.elevatedrails.com">http://www.elevatedrails.com</a> <br> <br> <br> <br> <br> </blockquote> </blockquote> <br> -- <br> Mike Mangino <br> <a class="moz-txt-link-freetext" href="http://www.elevatedrails.com">http://www.elevatedrails.com</a> <br> <br> <br> <br> <br> </blockquote> </blockquote> <br> -- <br> Mike Mangino <br> <a class="moz-txt-link-freetext" href="http://www.elevatedrails.com">http://www.elevatedrails.com</a> <br> <br> <br> <br> <br> </blockquote> </body> </html>