sporty / fruitysync Goto Github PK
View Code? Open in Web Editor NEWtwitterからfacebookに同期するウェブアプリ
twitterからfacebookに同期するウェブアプリ
例外処理がいい加減過ぎる。シンプルなルールで例外が起こったときにログや画面表示に反映する。
SnsAccountの情報が正しく伝わっていない模様
ツイートの内容確認、同期ルールに不具合がないか確認するために、manage.py synctweetにdry runモードを追加する。
オプションはargparse?など標準ライブラリが使えるか調査して使えるようなら使う。無理なら独自実装する。
とりあえずdjangoの設定でちゃんと返すようにする
アプリについてはprint文が全てログに出力される。
heroku runで実行するとコンソールのみ。起動したことしかログに残らない。
schedulerはどうか調査。
最低限エラーの原因がつかめるように例外をきちんと分けてログに出力されるようにする。
manage synctweetとアプリの同期ボタンを同一コードにする。
SnsAccountにsyncメソッドを作るのが自然。
tweetの投稿時間をみて、facebookの書き込み時間を合わせたい。
途中で例外が発生してもキチンと同期済みリストに記録する。
同期済みリストを見てスキップするようにキチンと実装する。
反映させないようにはじくツイートまとめ。
メンション。
返信。
公式Retweet。
非公式RTライクな物は反映させる。単純に@〜が入っていることを条件にすると、これがもれる。
アプリのFacebookページとアイコン(twitterアプリ共通)を作る
herokuのcronは1日1回。いまはschedulerに移行している。
schedulerで10分に1回同期されるように設定する。
トップページはユーザー情報のままでいいが、デザインや認証済み項目の表示等を見直す
ログイン後の画面遷移が変
エラーが発生したときに、登録ユーザーにメールが飛ぶようにする。
うざいか?
Facebookメッセージでもいいかも。
twitter公式同期アプリのように、twitterアカウントへのリンクを追加したい。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.