senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Wednesday, 23-Jan-2019 16:05:49 JST zunda ? nはおまけ :green_dango: zunda ? nはおまけ :green_dango:

    開発版データベースにリモートアカウント情報をいただいてくる。

    $ export RAILS_ENV=development
    $ bundle exec rake db:migrate
    $ bundle exec rails c
    > a = ResolveAccountService.new.call('zundan@mstdn.jp')
    [httplog] GET https://mstdn.jp/.well-known/webfinger?resource=acct:zundan@mstdn.jp completed with status code 200 in 0.4098550002090633 seconds
    [httplog] GET https://mstdn.jp/users/zundan completed with status code 200 in 0.5131939998827875 seconds
    [httplog] GET https://mstdn.jp/users/zundan completed with status code 200 in 0.47581200022250414 seconds
    [httplog] GET https://media.mstdn.jp/accounts/avatars/000/000/839/original/d0385cd091a0a467.gif completed with status code 200 in 0.8406469998881221 seconds
    [httplog] GET https://mstdn.jp/users/zundan/outbox completed with status code 200 in 0.4613930000923574 seconds
    [httplog] GET https://mstdn.jp/users/zundan/following completed with status code 200 in 0.5507229999639094 seconds
    [httplog] GET https://mstdn.jp/users/zundan/followers completed with status code 200 in 0.5095210000872612 seconds

    In conversation Wednesday, 23-Jan-2019 16:05:49 JST from mastodon.zunda.ninja permalink

    Attachments


    1. Domain not in remote thumbnail source whitelist: media.mstdn.jp
      zunda nはおまけ (@zundan@mstdn.jp)
      from mstdn.jp
      9 Toots, 7 Following, 42 Followers · 本体は zundan@mastodon.zunda.ninja におります

    2. https://media.mstdn.jp/accounts/avatars/000/000/839/original/d0385cd091a0a467.gif

    3. Domain not in remote thumbnail source whitelist: media.mstdn.jp
      People whom zunda nはおまけ follows
      from mstdn.jp
      9 Toots, 7 Following, 42 Followers · 本体は zundan@mastodon.zunda.ninja におります
    4. Domain not in remote thumbnail source whitelist: media.mstdn.jp
      People who follow zunda nはおまけ
      from mstdn.jp
      9 Toots, 7 Following, 42 Followers · 本体は zundan@mastodon.zunda.ninja におります
    • zunda ? nはおまけ :green_dango: (zundan@mastodon.zunda.ninja@mastodon.zunda.ninja)'s status on Wednesday, 23-Jan-2019 16:20:13 JST zunda ? nはおまけ :green_dango: zunda ? nはおまけ :green_dango:
      in reply to

      そのままtootctl accounts refresh相当のメソッドを呼んでみる

      > a.reset_avatar!

      何かしている様子はない…

      > a
      :
      avatar_file_name: "data.gif",
      avatar_content_type: "image/gif",
      avatar_file_size: 9490,
      avatar_updated_at: Wed, 23 Jan 2019 07:03:42 UTC +00:00,
      :
      avatar_remote_url: nil,
      :

      あれれ?

      avatar_remote_urlがnilではないアカウントだとアイコンを取りに行ってくれるなあ。アカウントによって、avatar_remote_urlがnilになるものとそうでないものがある。うーむ。

      In conversation Wednesday, 23-Jan-2019 16:20:13 JST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.