-
-
Notifications
You must be signed in to change notification settings - Fork 681
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API created odd missing/broken post #2112
Comments
I have reproduced the bug, the |
thanks! will the fix also apply to shares? i tried creating a share via the API, and the same thing happened: API request succeeded, but the shared post isn't visible on my profile. or is it not supposed to be? POST https://piconic.co/api/v1/statuses/156164634783649792/reblog {
"id":"156164634783649792",
"uri":"https://piconic.co/p/sturmen/156164634783649792",
"url":"https://piconic.co/p/sturmen/156164634783649792",
"in_reply_to_id":null,
"in_reply_to_account_id":null,
"reblog":null,
"content":"...",
"created_at":"2020-04-15T22:22:30.000000Z",
"emojis":[
],
"replies_count":0,
"reblogs_count":6,
"favourites_count":8,
"reblogged":null,
"favourited":null,
"muted":null,
"sensitive":false,
"spoiler_text":"",
"visibility":"public",
"mentions":[
],
"tags":["..."],
"card":null,
"poll":null,
"application":{
"name":"web",
"website":null
},
"language":null,
"pinned":null,
"account":{
"id":"121262268343259136",
"username":"sturmen",
"acct":"sturmen",
"display_name":"Nicholas Tinsley",
"locked":false,
"created_at":"2020-01-10T14:52:57.000000Z",
"followers_count":47,
"following_count":1,
"statuses_count":96,
"note":"Professional programmer, hobbyist photographer.",
"url":"https://piconic.co/sturmen",
"avatar":"https://piconic.co/storage/avatars/012/126/226/834/325/913/6/bivWclAi9wWjTKmOHUBv_avatar.jpeg?v=d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35",
"avatar_static":"https://piconic.co/storage/avatars/012/126/226/834/325/913/6/bivWclAi9wWjTKmOHUBv_avatar.jpeg?v=d4735e3a265e16eee03f59718b9b5d03019c07d8b6c51f90da3a666eec13ab35",
"header":"",
"header_static":"",
"emojis":[
],
"moved":null,
"fields":null,
"bot":false,
"software":"pixelfed",
"is_admin":false
},
"media_attachments":[{
"id":"1208",
"type":"image",
"url":"https://piconic.co/storage/m/d0931bf747b992a1c83e055753526516f2706111/fd96146a05926d57f3216dff0d2808668bcb7ca3/CHO2eWYKOwRsbeamDG8VNUCrKNi5JMvqsTCC1XO8.jpeg",
"remote_url":null,
"preview_url":"https://piconic.co/storage/m/d0931bf747b992a1c83e055753526516f2706111/fd96146a05926d57f3216dff0d2808668bcb7ca3/CHO2eWYKOwRsbeamDG8VNUCrKNi5JMvqsTCC1XO8_thumb.jpeg",
"text_url":null,
"meta":null,
"description":null
}],
"type":"repost"
} |
confirmed for creating new posts! reposts still aren't working though. i get a 201 back with the original post's AS2 object, but it doesn't show up on my profile. it also doesn't increment the post count on my profile, so i expect now the problem may be different than visibility. example:
|
hi all! i used the API to create a post just now, via
/api/v1/media
and/api/v1/statuses
on https://piconic.co/ (0.10.8). both API requests succeeded, but the post itself doesn't show up on my profile https://piconic.co/snarfed , and the post's permalink URL https://piconic.co/p/snarfed/156271590181572608 gives the error Oops! An error occured, please try refreshing the page.here are the requests i made and their responses. hope this helps!
POST https://piconic.co/api/v1/media
MIME multipart with one file, contents: https://snarfed.org/1965_mustang.jpg
response:
POST https://piconic.co/api/v1/statuses
request body:
response:
The text was updated successfully, but these errors were encountered: