Getting Facebook "publish_actions" permission - android

I have been working on a mobile application. It has some locked features. To open them, user should share the web page of my application on Facebook. I'm using share dialog to make it. I'm publishing the Facebook post's details on my web page with using graph api and postId which comes from onsuccess.
https://developers.facebook.com/docs/android/troubleshooting#faq_288512448203790 in this page Facebook says I need "publish_actions" permission to get the postId while I'm using share dialog.
But, https://developers.facebook.com/docs/facebook-login/permissions/v2.5#reference-publish_actions in this page it says "if you are using share dialog do not request this permission."
And if I use custom dialog, facebook does not accept to share my web page.
So, my question is; What should I do to get "publish_actions" permission ?

you can still get the approval, but explaining it to facebook review team and user must be aware of the hidden posting and one more thing giving incentives or forcing users to share is not permitted by facebook policies.

Related

How to get Instagram public content access permission is granted facebook

I am doing following thing currently.
Using Instagram API to get the latest feeds from hashtags on hourly basis with crone job in backend.
Android APK can call the API and show the feeds. I have also integrated FB login in android.
Still Facebook is not approving my review request. Currently they are rejecting.
Asking me to implement "Instagram public content access" permission.
Can someone suggest me how can I do this, so FB can test it.
Thanks in advance

What facebook permissions do I need if my app is using the share plugin?

I submitted my app for facebook review (publish_actions) and they come back to me with the following:
"Your app is using the Share plugin to share content to Facebook, so you don't need to submit for review. Publish_actions is only for posting through the Graph API. See our sharing docs for more info on plugins."
And they direct me to this page:
Android Sharing
However in that page it does not really tell me what permission I need to add in order for the app review process to be successful. At the moment my app just has the default permissions: email, public_profile and user_friends.
I am not sure what they really mean by "so you don't need to submit for review" Don't all the apps need to be reviewed? But to be reviewed, I need to add a permission and I do not know which one???? At the moment with the administrator login I can share a post fine but it does not work for any other user.
Please advise.
Thanks

Does Facebook allow user to post feed from an app without dialogue?

Does Facebook SDK allow publishing a post on a user’s wall through graph API without showing a share dialog window each time from mobile apps?
I am using Facebook Graph API to publish posts from app to user's wall.
Requirement is: Post a feed to fb without showing share dialog each time i.e., ask user's permission only once (for example: this app will post your feeds to fb too) and don't show share dialog for other upcoming posts.
Does Facebook allow this?
During the Facebook login process, can we ask user to grant permissions to post on his behalf on Facebook and post on his wall from application later without share dialog?
Answering my own question,Facebook does allow users to post feeds from an application to user's wall on facebook wihtout dialogues using graph API.
However, you will need to submit your application for review on facebook. Until this process is not complete, only those people who are marked as developers in project settings of project on developers.facebook.com will be able to see test posts.
Facebook requires you to give users a proper control over sharing on facebook if you are implementing facebook sharing without feed dialog. If you don't meet the criterias laid down by facebook, your application will not be accepted by facebook to use graph API.
Here is a link to Facebook Review principles: [https://developers.facebook.com/docs/apps/review/]

is "publish_action" permission necessary to post on facebook wall through android applicaton?

I just need to post some text and Image on the Facebook wall of my app's user.
The Facebook app registered in developers.facebook.com doesn't have "publish_actions" permission by default. I already have submitted request for this permission but its taking long to get approved.
Meanwhile seeing my friend doing this post operation thorugh ios app without this "publish_action" permission I am curious do i need this permission to post some text and image on users wall at all? Please help me..
You dont, if you are using open graph:
Reference: The Share dialog lets people publish stories from your app without Facebook Login or the publish_actions permission. However you still have to send your app for review.
The best part is that a user can tag people in a post built upon graph API. As a sample app I would suggest you check how Scrumptious works, it comes prepackaged in the FB SDK.
You can check this link: Android: How to share image with text on facebook via intent?
Use intent sharing for normal text and image post
Publishing
You can publish posts by using the /{user-id}/feed, /{page-id}/feed,
/{event-id}/feed, or /{group-id}/feed edges.
When creating a Post for a Page if you use a user access token the
post will be in the voice of the user that posted it. If you use a
page access token, the post will be in the voice of the page.
Source.
Upload Photos to a User's Profile
This example covers uploading a photo to the current User's profile
using the Graph API and the Facebook SDK for PHP.
It assumes that you've already set your default app id and secret, and
acquired a FacebookSession using an access token or one of the login
helper classes found here. You must have requested the publish_actions
scope when logging in the user for this to work.
For more information, see the documentation for GraphObject,
FacebookRequest, and FacebookRequestException.
Source.
As you can see, you need the publish_actions privilege to post to wall a post with picture and text. You need a review as well.

Android Facebook like post on my page as the current user

I'm trying to post a like to a picture\post in a page I manage.
I didn't request the manage_pages permissions, since I don't want to manage the page.
I'm trying to post a like action to one of the pictures in my page thorough the Android Facebook SDK, but it says that a manage_pages permissions is required.
When i'm giving that permission, the like is being posted as the Page.
Can I somehow tell the SDK to post it by the user and not by the page the user owns ?
In the API call, instead of the page access token, use the user access token to post as the user with publish_actions permission

Categories

Resources