When you check-in to foursquare, automation-post to mixi.
https://s1.mpnets.net/services/fsq2mixi
-
perl 5.10 (or later)
-
Mojolicious 3.70 (or later)
-
Foursquare UserPush API
-
mixi Graph API
This application is still a test version.
Many thanks :)
http://github.com/yappo/p5-Data-Model/
https://github.com/twitter/bootstrap
Copyright 2012 Twitter, Inc.
Apache License 2.0 https://github.com/twitter/bootstrap/blob/master/LICENSE
https://github.com/jquery/jquery
Copyright 2012 jQuery Foundation and other contributors. http://jquery.com/
MIT License https://github.com/jquery/jquery/blob/master/MIT-LICENSE.txt
GLYPHICONS FREE are released under the Creative Commons Attribution 3.0 Unported (CC BY 3.0). The GLYPHICONS FREE can be used both commercially and for personal use, but you must always add a link to glyphicons.com in a prominent place (e.g. the footer of a website), include the CC-BY license and the reference to glyphicons.com on every page using GLYPHICONS.
$ cpanm Carton
$ git clone https://github.com/mugifly/Fsq2mixi.git
$ carton install
Please make a configuration file as below for the Config::Pit.
~/.pit/default.yaml
"fsq2mixi":
"fsq_client_id": 'FOURSQUARE_CONSUMER_KEY'
"fsq_client_secret": 'FOURSQUARE_CONSUMER_SECRET'
"fsq_push_secret": 'FOURSQUARE_PUSH_SECRET'
"mixi_consumer_key": 'MIXI_CONSUMER_KEY'
"mixi_consumer_secret": 'MIXI_CONSUMER_SECRET'
"secret": 'COOKIE_SECRET'
"basepath": '/fsq2mixi'
"dbpath": 'SQLITE_DATABASE_SAVEPATH'
Please working on a directory of the Fsq2mixi (That means the cloned directory), when executing a following commands.
$ carton exec -- prove -lv t/*
(Mojolicious 3.70)
Please working on a directory of the Fsq2mixi, when executing a following commands.
$ carton exec -- hypnotoad /PATHTO_fsq2mixi/script/fsq2mixi -f /PATHTO_fsq2mixi/script/fsq2mixi
/PATHTO_fsq2mixi/fsq2mixi.conf
{hypnotoad => {listen => ['http://*:80'], workers => 10}};
see detail: http://mojolicio.us/perldoc/Mojo/Server/Hypnotoad#SETTINGS
Copyright (c) 2012 Masanori Ohgita (http://ohgita.info/). This program is free software distributed under the terms of the MIT license. See LICENSE.txt for details.