opensource-socialnetwork / OssnServices

Integrate your OSSN powered social network into 3rd party application
https://www.opensource-socialnetwork.org/webservices/view/3616/welcome-to-ossn-web-services-api-integrate-ossn-into-your-application
11 stars 8 forks source link

Created post not showing #17

Closed developer-bhumika closed 7 months ago

developer-bhumika commented 7 months ago

Hello team,

I have created one wall post, it is successfully created, but when i am trying to retrieve in particular group, its showing no user exist.

Please refer this screenshots.

Creating post: https://drive.google.com/file/d/18x2F6DuHkVdbYQFuZPRkbpEec0cWnp6t/view Trying to retrieve post: https://drive.google.com/file/d/1s_8coSx_aSC2kPmkvfgv1pASdvAMTb2t/view

Please update me on this as soon as possible.

lianglee commented 7 months ago

You need to pass uguid instead of group guid

Please check parameters with below URL

https://www.opensource-socialnetwork.org/webservices/view/3578/user-profile-wall-posts-list

lianglee commented 7 months ago

If you only want to get the single post that created you need to pass post guid to https://www.opensource-socialnetwork.org/webservices/view/3577/wall-view-post which in your case payload->post->guid which is 119

developer-bhumika commented 7 months ago

You need to pass uguid instead of group guid

Please check parameters with below URL

https://www.opensource-socialnetwork.org/webservices/view/3578/user-profile-wall-posts-list

--> @lianglee i passed that too, but not working image

lianglee commented 7 months ago

You are doing wrong you are passing post GUID to uguid :) please read the description carefully. Try uguid also 4 and see

developer-bhumika commented 7 months ago

@lianglee i tried using 4 too but its same. If i want to fetch particular group post then what i have to pass in uguid?

lianglee commented 7 months ago

Contact us with your api key website url and admin login details

On Thu, Apr 4, 2024, 6:04 PM developer-bhumika @.***> wrote:

@lianglee https://github.com/lianglee i tried using 4 too but its same. If i want to fetch particular group post then what i have to pass in uguid?

— Reply to this email directly, view it on GitHub https://github.com/opensource-socialnetwork/OssnServices/issues/17, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAGERSVYTR5OZPT7WXSLX43Y3VFW3AVCNFSM6AAAAABFW7NWROVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZXGE3DCMRSGI . You are receiving this because you were mentioned.Message ID: <opensource-socialnetwork/opensource-socialnetwork/issues/2367/2037161222@ github.com>

lianglee commented 7 months ago

Your website have no posts https://nihss.joincommunity.net/ where you are trying to add?

I added the test post and it showing fine from the default account

https://nihss.joincommunity.net/api/v1.0/wall_list_user?api_key_token=&uguid=1

image

lianglee commented 7 months ago

For group seems in our documentation end point is wrong use following for group posts list

https://nihss.joincommunity.net/api/v1.0/wall_list_group?api_key_token=(your api key)&guid=1&group_guid=5

image

developer-bhumika commented 7 months ago

https://nihss.joincommunity.net/api/v1.0/wall_list_group?api_key_token=(your api key)&guid=1&group_guid=5

Ok, its working now.

developer-bhumika commented 7 months ago

@lianglee i want to discuss about push notification, i want to send push notification to user mobile device while sending messages. Are you providing sending push notification feature?

developer-bhumika commented 7 months ago

@lianglee there are few apis missing in the documentation uploaded on your website like edit post, delete grop etc. Can you please provide complete documentation for apis ?

developer-bhumika commented 7 months ago

@lianglee any updates on questions i asked?

lianglee commented 7 months ago

Already answered your ticket.

Also did you integrated all of existing apis already?

developer-bhumika commented 7 months ago

@lianglee

I have integrated following apis :

  1. comment_edit
  2. comments_list
  3. groups_add
  4. groups_edit
  5. groups_members
  6. groups_view
  7. groups_user_memberof
  8. comment_delete
  9. comment_add
  10. wall_delete
  11. wall_list_group
  12. wall_list_user
  13. wall_add
  14. user_remove_friend
  15. user_add_friend
  16. user_is_friend
  17. user_edit
  18. user_authenticate
  19. user_friends
  20. user_details

I am not finding following existing apis from document

  1. Apis for media tab
  2. Group_delete
  3. Post edit
  4. Image upload
  5. Group join
  6. Group unjoin
  7. Message module

please provide me above apis

Thanks

lianglee commented 7 months ago

image

image

image

Everything is there except post edit there is no post edit api endpoint yet

lianglee commented 7 months ago

https://www.opensource-socialnetwork.org/webservices/view/7037/delete-group

https://www.opensource-socialnetwork.org/webservices/view/7038/edit-wall-post

developer-bhumika commented 7 months ago

@lianglee Please check group join, not working. image

lianglee commented 7 months ago

Report it here https://github.com/opensource-socialnetwork/OssnServices

Check for error log and see what is the error.

Enable error reporting and check error_log against that error code

developer-bhumika commented 7 months ago

@lianglee regarding media apis, i want to show media by group but in current apis its userwise. I want to show media under the group selection.

lianglee commented 7 months ago

Please post it on community with more details as this is not a correct responsitory for web services

developer-bhumika commented 7 months ago

@lianglee Is there any way where we can maintain one thread and discuss all issues we are facing ? I tried to contact using your website but in that i can not reply to those emails because it has no reply.

lianglee commented 7 months ago

I have moved the issue, what you wanted to discuss? what do you mean by media apis?

developer-bhumika commented 7 months ago

@lianglee image

developer-bhumika commented 7 months ago

@lianglee i need apis for file section, where can i get that?

lianglee commented 7 months ago

See following https://www.openteknik.com/webservices/all we have now only these available.