vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=252)
-   -   [Mobile API] Methods documentation is missing (https://vborg.vbsupport.ru/showthread.php?t=284642)

A.Skogorev 06-19-2012 12:33 PM

[Mobile API] Methods documentation is missing
 
Hi everybody,

We have vBulletin forum and we have another site where we wish to display 2 latests posts of the forum.

Here I found how to use Mobile API.

But most of Additional documentation marked as "Coming Soon".The section I needed (Thread-Post-Related-Methods) is available, but it contains only 1 of 18 methods.:confused:

Anyway, I found Mobile API methods list and tried to use it.

I tried "search_getdaily" which returns "searchid" and "search_showresults". It works perfect, but it gives me only latest posts ids. Result also contains short description, but it contains the text of the first post of the thread where latest post were posted. So now I need somehow to get the post by its id. But there is no such method at the methods list.

Next I tried to use "showthread" method(Because I can already get the lastly updated threads id). It works well, but there is no its description at all, except of the very helpful phrase: "Return the posts and other related information of a thread":mad:. I found that it accepts parameter "threadid", but it returns only the first page. Ok, I thought there is a "page" parameter, or "page_number", or pageNum, but there are no such parameters. method returns "invalid_api_signature".:confused:

Also there is an api_v parameter of the api.php so the current API version is not the first one. I'm ready to use some old obsolete methods of the previous API, but there is no documentation at all.:(

Please give me some directions for my task. Or please give me some documentation link for the MOBILE API(not the vBulletin api which wont help). Or at last please give me the "showthread" method signature.

P.S.: Sorry if the text is too emotional:o


All times are GMT. The time now is 03:34 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00942 seconds
  • Memory Usage 1,710KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (1)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete