[英]Snapchat url scheme not working properly - camera opens but not profile
I am trying this http://handleopenurl.com/scheme/snapchat and the app opens and shows the camera instead of showing me the profile. 我正在尝试这个http://handleopenurl.com/scheme/snATA ,该应用程序打开并显示相机,而不是显示我的个人资料。
Is there another URL scheme for snapchat? 是否有针对Snapchat的其他URL方案?
现在可以使用: https://snapchat.com/add/username
: https://snapchat.com/add/username
:
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse("https://snapchat.com/add/username")));
If you want to open snapchat application just then use : 如果您想打开Snapchat应用程序,请使用:
snapchat://
If you want to add any user to friend list you can use this : 如果要将任何用户添加到好友列表,可以使用以下命令:
snapchat://add/snapchatUsername
I've spent a fair amount of time looking into this, and I don't think there's any information out there right now about app URLs that do anything in Snapchat except just open the app. 我花了相当多的时间来研究这个问题,我不认为现在有关于在Snapchat中做任何事情的应用程序URL的任何信息,除了打开应用程序。 The
?u=username
thing in the other answer and elsewhere on the Internet doesn't work (at least not for current versions of Snapchat). 另一个答案和互联网上的其他地方的
?u=username
不起作用(至少不适用于当前版本的Snapchat)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.