如何通过使用TikTok SDK登录获取用户信息? [英] How to get user's information by using TikTok SDK Login?

查看:728
本文介绍了如何通过使用TikTok SDK登录获取用户信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用TikTok的TikTok SDK登录开发者门户.在我的移动应用中 https://developers.tiktok.com .(我们已经注册并获得了client_id和client_secret)

I am using TikTok SDK login from TikTok for developers portal. https://developers.tiktok.com in my mobile app. (We have registered and got the client_id and client_secret)

我能够从SDK进行用户身份验证,但TikTok不会再返回用户信息,例如用户名,名字,unique_id,followers_count等.

I am able to authenticate user from the SDK, but no user information is coming back from TikTok like username,firstname,unique_id,followers_count etc.

我们可以使用SDK直接将视频共享给tiktok,但没有用户信息.

We can share the video directly to tiktok using SDK, but there is no user information available.

TikTok在开发人员门户上没有太多可用的信息,有人可以帮助我吗?

There is no much information available from TikTok on there Developer portal, Can anyone help me?

谢谢

推荐答案

我不知道它是否是有意的,但是Tik Tok在创建健壮的API方面似乎没有很高的优先级.他们的IOS SDK似乎只能将视频分享到其平台,而其他功能则不多.

I don't know if it's intentional, but it doesn't seem like Tik Tok has a very high priority on creating a robust API. Their IOS sdk seems to only have the ability to share videos to their platform, but not much else.

此存储库可能会为您提供一些帮助( github.com/szdc/tiktok-api ),但说明文件不够清晰.

This repo may offer something for you (github.com/szdc/tiktok-api) but the documentation isn't very clear.

Tik Tok也没有非常好的网络版本,如果他们想保护自己的数据免受像我们这样试图在其平台上构建的开发人员的攻击,这是明智之举.

Tik Tok also doesn't have a very good web version, which is a smart move if they're trying to protect their data from devs like us who are trying to build on top of their platform.

这篇关于如何通过使用TikTok SDK登录获取用户信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆