Android LikeView error

I am using facebook android sdk v3.19.1 in my android app. I'm trying to use LikeView , but it only works with users who have added facebook app settings under roles as developer or tester. If I try to click a similar button with a regular facebook user or test user, it pops up and quickly disappears and returns the following error message: error_description: A dialog like this is only available to developers and testers. Error: server_error error_reason: dialog_disabled

My app is pubilc and I have the Single Sign On and Deep Linking options enabled. I am using facebook LoginButton and am asking for "publish_actions" permissions before user clicks "like" but it still gives me an error.

My problem is that I cannot get a button like this to work with test users. I have posted a similar button to view on facebook, but they give me the following answer: Please confirm that your application is working correctly and that you can post the files you like with a test user. Please help me to solve this problem. Thank.

+3


source to share


2 answers


I have the same problem. I found this in the Facebook docs.

Test users cannot become fans of the public Facebook page or create content on them, for example, on the page wall. The test user can however view and interact with any application tab on the page associated with the application that created them.



( https://developers.facebook.com/docs/apps/test-users?locale=es_ES )

0


source


Are you using an FB user account for your application? Test accounts may not like the page. I have the same problem. I switched to using my actual FB account and LikeButton worked great!



0


source







All Articles