yamahei / WhatDoWeDo

GNU General Public License v3.0
1 stars 0 forks source link

instagramのアプリ #3

Open yamahei opened 8 years ago

yamahei commented 8 years ago

instagramのAPIを使ったアプリを作ります。 自分の写真力を確認できるような感じのやつ ここで揉んでherokuで開発します

yamahei commented 8 years ago

急ぎたたき台を作ります。 最低限↓ぐらい

  1. instagramで認証してログイン
  2. 自分の基本情報

まずは heroku + sinatra + postgres でざっくり土台まで

sp-ice commented 8 years ago

Instagramの写真のスコアを算出するアイデアを山折さんからきいたので、 以前読んだ記事共有しておきます。

http://qiita.com/ytanaka/items/a0144b623a8dd7fcdbbe

プログラマ向けのニュースキュレーションサービスを作った話で、 はてなブックマークから、「将来ブクマ数が伸びるような記事をいち早くブックマークするひと」を独自アルゴリズムで抽出するという部分が非常に面白かったです。

ご参考になれば!

yamahei commented 8 years ago

ubuntu系のpostgresのトラブルで全然進まず…。 ↓と同じ事象なのに同じ方法で解決しないとか…。

もうMySQLにしよっかな。。

yamahei commented 8 years ago

https://git-gud-photo.herokuapp.com/ やっと動いた。。 これと言って変更してないのに、2日放置したら動き出したのが非常にキモチワルイ。 自分のアカウント画像とスコアが出るだけだけど。

sp-ice commented 8 years ago

自分のアカウントでログインすると、エラー出ちゃいました。 山折さんのアカウントを読みに行っちゃってるんですかね?? {"code": 403, "error_type": "OAuthForbiddenException", "error_message": "You are not a sandbox user of this client"}

yamahei commented 8 years ago

あー、サンドボックスは招待してないとダメなのか… 今から帰省するからまた今度やね 試してくれてありがとう!

2016年8月13日土曜日、Daisuke Unonotifications@github.comさんは書きました:

自分のアカウントでログインすると、エラー出ちゃいました。 山折さんのアカウントを読みに行っちゃってるんですかね?? {"code": 403, "error_type": "OAuthForbiddenException", "error_message": "You are not a sandbox user of this client"}

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/yamahei/WhatDoWeDo/issues/3#issuecomment-239598881, or mute the thread https://github.com/notifications/unsubscribe-auth/ADzAa68qB0CAg3WnNLDLl0ldwi9_vbosks5qfTc1gaJpZM4JV6BJ .

yamahei commented 8 years ago

sp_iceとsora.mai_をサンドボックス許可してみたよ

yamahei commented 7 years ago

https://git-gud-photo.herokuapp.com

久しぶりに作業できた。。 サンドボックスの制限とか、gemがメンテされてないとか、色々面倒な感じ。。 ざっくり言うと、↓な方向で進む予定。