I want to integrate my application with Facebook. I am using Facebook SDK for that. In my application I am trying to post some message to Facebook. I have already created one application for this in Facebook developers site. I have used this application id and publish_actions permission. But I cannot able to post messages to Facebook. Previously it did.
I searched about this issue and it seems After 30th April facebook changed some structure regarding roles. As of 2014 May 1, if you want to post anything to the user [apart from the app registered developer] timeline you need Facebook permission i.e the app needs to be submitted for approval. Please Refer https://developers.facebook.com/docs/facebook-login/permissions/v2.0#review
The approval process needs apk submission, screenshots, privacy policy ect. https://developers.facebook.com/docs/apps/review
Before going to this approval process, I just want to know is this the only way to post message to Facebook from an android app?
Anytime you install an app from Google Play, you'll likely see an app permission request. If you install a camera app, for example, it will need your permission to access your device's camera before it can actually take photos.
Yes it is correct you have to get permission first from Facebook and for that you have to submit it for review as stated in the link you posted. But this is the case when you are posting in background without showing user what you are posting. https://developers.facebook.com/docs/apps/review I have done the same thing in one of my iOS apps when the user logs in to Facebook via my app the app asks for permission and there it shows a alert from Facebook that you have to get permissions from Facebook to post when making the app public. By default these three permission are given : 1. email 2. user_friends and 3. public_profile
for extra permission you have to submit it for review. You can use to choose via dialog box in your app: pls see this link : https://developers.facebook.com/docs/android/share
If you are listed as an administrator, tester or developer under roles for your application, it can post to facebook pages owned by you without first getting permission from Facebook
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With