[ManiaFlash][Suggestion] Additional Information

Maniaplanet public API, ManiaConnect system and the open source PHP SDK.

Moderator: NADEO

Post Reply
zocka
Posts: 190
Joined: 15 Jun 2010, 17:56

[ManiaFlash][Suggestion] Additional Information

Post by zocka » 22 Mar 2015, 20:33

After having a look at the ManiaFlash API's return values, I would suggest some things, I could imagine useful or interesting for API users:

maniaflash/channels/.../
  • follower count
  • channel icon url
  • maybe the message count to optimize message requesting & caching
maniaflash/channels/.../messages/
  • add something like original post data as null or {id: ..., author/channel: ...} since the API doesn't inform about the original author at all, if the message is reposted
manialink minigame shatter
my manialink: zockaml
my maniaflash: maniaflash?zocka

zocka
Posts: 190
Joined: 15 Jun 2010, 17:56

Re: [ManiaFlash][Suggestion] Additional Information

Post by zocka » 16 Apr 2015, 18:12

Edit/Bump
I just noticed, that the messages give an "author" and don't even contain the publishing channel :oops:
Which really doesn't seem thought through :0010 sorry...

I'm currently trying around with an integration of the API and it would be a natural usecase to search for a hashtag (since the API provides this possibility) and then you may find a channel you want to visit/see more posts/follow/... but I can't seem to find a good way to actually get the necessary information.


And for the thing with the channel icon (as I still think it would enhance the look of a newsfeed) I came to think of some simple rewrite rule like /maniaflash/channels/%s/icon.png to obscure the user's hosting service.


With best regards :thx:
manialink minigame shatter
my manialink: zockaml
my maniaflash: maniaflash?zocka

User avatar
toffe
Posts: 593
Joined: 15 Jun 2013, 10:57
Location: The Netherlands
Contact:

Re: [ManiaFlash][Suggestion] Additional Information

Post by toffe » 16 Apr 2015, 19:25

Agree on the source when resharing.
Also have this on my list: viewtopic.php?f=282&t=29675

Toffe
ManiaPlanet Toolkit: topic + download app.
ManiaCalendar: http://maniacalendar.com / manialink
ManiaCDN: topic
PyPlanet: Python Server Controller Image

Post Reply

Return to “Maniaplanet Web Services”

Who is online

Users browsing this forum: No registered users and 2 guests