开发者

What should I put in redirect_uri when sending to FB if I want nothing to happen?

开发者 https://www.devze.com 2023-04-02 07:02 出处:网络
I have managed to get my Android application to post t开发者_运维问答o FB (at last). However, I am stuck on what exactly I am meant to put in the field \"redirect_uri\".

I have managed to get my Android application to post t开发者_运维问答o FB (at last). However, I am stuck on what exactly I am meant to put in the field "redirect_uri".

I don't want to do anything special whether the user clicked post or not. Is there a way I can just simply ignore it?

Would love to be able to leave it out but it is a compulsory parameter.

Update:

In order to be able to post I created a dummy application in FB. Maybe that's where I went wrong!


If you leave out the redirect_uri, it will be automatically filled in by most of the SDKs, I'm not sure if that's definitely true of the Android SDK. You could just use the current URL in that field, meaning the user won't go anywhere?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号