【发布时间】:2020-07-08 06:04:51
【问题描述】:
嗨,我如何从 branchio 获取新的深层链接 url,它不断传递相同的信息。
这是我正在使用的代码:
axios.post('https://api2.branch.io/v1/url', {
"branch_key": config.branchio.key,
"tags": ["group"],
"data": {
"$og_title": title,
"$og_description": description,
"$og_image_url": "https://bridgedapp.com/bridged-new-logo-icon.png",
"custom_integer": 1 //type group
}
})
.then(response => {
console.log(response.data.url);
insertNewGroup(response.data.url);
})
.catch(error => {
console.log("deep link error:", error);
});
【问题讨论】:
标签: axios deep-linking branch.io