Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

["error"]=> string(21) "text not find domain!" ["error_code"]=> int(10017) #22

Open
leoxiaoping opened this issue Oct 10, 2017 · 3 comments

Comments

@leoxiaoping
Copy link

一直报错

demo

$c = new SaeTClientV2( WB_AKEY , WB_SKEY , WB_ACCESSTOKEN );
// 待发送的文字内容
$status = '发送的文字内容';
// 本地一张图片,也可以不带图片
$file_local = '5486087cly1fhh2yaksr1j20j60srtd0.jpg';
// 拼接'http://weibosdk.sinaapp.com/'是因为这个share接口至少要带上一个【安全域名】下的链接。
$ret = $c->share($status.'http://weibosdk.sinaapp.com/', $file_local);
var_dump($ret);

也是报错,安全域名已经添加了,urlencode也试过了

@xiaosier
Copy link
Owner

“安全域名已经添加“,审核通过了吗?

@leoxiaoping
Copy link
Author

可以了,但是提示不准确太折腾了

总结下:
①必须添加安全域名必须通过审核
②文档里面写的是必须urlencode 实际上不需要urlencode

@chianz
Copy link

chianz commented Oct 20, 2017

请问下是否有可以调用的完整demo,我也提示text not find domain! 感谢~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants