Note that there are some explanatory texts on larger screens.

plurals
  1. POFacebook sharing is not working for some users
    primarykey
    data
    text
    <p>I am trying to share the some details on facebook, it is working for some users but not working for all users, it gives the error of required publish permissions.</p> <pre><code>void shareEventDetailsOnFacebook() { try { if (Utilities.getDataFromPreferences(WhosGoingActivity.this, "SAHRE_ON_FACEBOOK", "ON").equals("ON")) { Logger.logger(" FriendsDetailsActivity ", "response =======" + Session.getActiveSession().getPermissions().toString()); Bundle params = new Bundle(); params.putString("message", "I have booked!" + "\n\nEvent:" + Utilities.getDataFromPreferences(WhosGoingActivity.this, "EVENT_NAME", "-1") + "\nOn:" + Utilities.getDataFromPreferences(WhosGoingActivity.this, "EVENT_DATE", "-1") + "," + Utilities.getDataFromPreferences(WhosGoingActivity.this, "EVENT_TIME", "-1"); params.putString("name", Utilities.getDataFromPreferences(WhosGoingActivity.this, "EVENT_NAME", "-1")); params.putString("picture", Utilities.getDataFromPreferences(WhosGoingActivity.this, "EVENT_IMAGE", "-1")); params.putString("link", "www.google.com"); Logger.logger("message", "I have booked a night out!" + "\n\nEvent:" + Utilities.getDataFromPreferences(WhosGoingActivity.this, "EVENT_NAME", "-1") + "\nOn:" + Utilities.getDataFromPreferences(WhosGoingActivity.this, "EVENT_DATE", "-1") + "," + Utilities.getDataFromPreferences(WhosGoingActivity.this, "EVENT_TIME", "-1")+"#nightup"); facebookID = ""; for (int i = 0; i &lt; listFaceBookID.size(); i++) { facebookID = facebookID + listFaceBookID.get(i) + ","; } facebookID = removeCommaAtEndOfString(facebookID); Logger.logger("FacebookIds ==================== " + facebookID); params.putString("tags", facebookID); params.putString("place", Utilities.getDataFromPreferences(WhosGoingActivity.this, "PAGE_ID", "-1")); Logger.logger(" FriendsDetailsActivity permissions ", "response =======" + Session.getActiveSession().getPermissions().toString()); Request request = new Request(Session.getActiveSession(), "me/feed", params, HttpMethod.POST, new Request.Callback() { @Override public void onCompleted(Response response) { Logger.logger(" invite() FriendsDetailsActivity invite() ", "response =======" + response.toString()); } }); Request.executeBatchAsync(request); } } catch (Exception e) { e.printStackTrace(); } } </code></pre> <p>Please hepl me..</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload