messages.getWebPage

Get instant view page

webPageEmpty#eb1477e8 id:long = WebPage;
webPagePending#c586da1c id:long date:int = WebPage;
webPage#e89c45b2 flags:# id:long url:string display_url:string hash:int type:flags.0?string site_name:flags.1?string title:flags.2?string description:flags.3?string photo:flags.4?Photo embed_url:flags.5?string embed_type:flags.5?string embed_width:flags.6?int embed_height:flags.6?int duration:flags.7?int author:flags.8?string document:flags.9?Document cached_page:flags.10?Page attributes:flags.12?Vector<WebPageAttribute> = WebPage;
webPageNotModified#85849473 = WebPage;
---functions---
messages.getWebPage#32ca8f91 url:string hash:int = WebPage;

Parameters

Name Type Description
url string URL of IV page to fetch
hash int Hash used for caching, for more info click here.
Note: the usual hash generation algorithm cannot be used in this case, please re-use the webPage.hash field returned by a previous call to the method, or pass 0 if this is the first call or if the previous call did not return a webPage.

Result

messages.WebPage

Possible errors

Code Type Description
400 WC_CONVERT_URL_INVALID WC convert URL invalid.

Related pages

Pagination in the API

How to fetch results from large lists of objects.

webPage

Webpage preview