Facebook Likeview not working

I have implemented as suggested on Facebook developer site I just added Likeview and set object id for postcode below

likeView  = (LikeView)findViewById(R.id.like_view);
    likeView.setObjectId("https://www.facebook.com/karan.raj.5070276/posts/396696657159566");

      

My layout file has LikeView widget

<com.facebook.widget.LikeView
    android:id="@+id/like_view"
    android:layout_width="250dp"
    android:layout_height="wrap_content"
    android:layout_gravity="center_horizontal"
    android:layout_marginTop="30dp" />

      

When clicked, it only opens the dialog and it disappears without any action and in the log-cat I encountered an error message like "How dialog is only available to developers and testers" What to do in Facebook app. Should I add roles for developer and tester Please help us with any help.

+3


source to share


1 answer


Login to your facebook with the same user you created the facebook app with. This error occurred because you are logged into facebook with a different user.



Note. ... By default, the Facebook app app is in development mode and can only be used by app administrators, developers, and testers.

+4


source







All Articles