share image on facebook from android application - android

i'm developping an android application that allow user to share image on facebook. But facebook only give you the permission if you have already submited a review. Or my application isn't complete and i want to test the share operation. how to make it work?

It all says it right here:
https://developers.facebook.com/docs/sharing/android
If you want to test it then you need to go to your app on the developers page of facebook, click on roles and add a tester.

Related

Is it possible to have same Android Application with or without facebook login?

I want to make the application available in the Google/ third party market which can be used by anyone without using any login details on the cellphone. I want to add the same application to facebook later wherein people can access through Facebook. Basically, I want to allow users to directly access without login from their cellphone and Facebook users to access the application from Facebook Apps/Store/newsfeed.
I know we can add facebook login code. But, doing this will mean even the users accessing from Google Store or third party has to log in from facebook? Will it be possible to allow both ways?
In you case, yes it is possible.
With a simple conditional check you can activate or disable any feature of your app.
You didn't mentioned the language you are using to develop the app.
However, with an if condition check if platform is android or facebook.
If it is android, don't ask for login,
if it is facebook, get the
user details.
Simple, isn't it?
Yes it is possible you can use build flavors for that
for more follow below link
Build variants

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

How to Invite facebook friends though my application?

I try using this link this. In this tutorial i post my app link only my wall. But i want to share my app link to all my friends. Same like as a XYZ invited to you to try ABCapp only in notification bar. When click on it open google play store of my app page. I want to share my app app link to app facebook friends or selected facebook friend. How can i achieve this?
To invite friends through your app you can use App Invites. Before using this feature make sure to set up your Android Facebook SDK version to 4.0 or later.
You can take a look at the overview in this link
https://developers.facebook.com/docs/app-invites/overview
For the implementation you probably need this
https://developers.facebook.com/docs/app-invites/android
https://developers.facebook.com/docs/apps/faq#invite_to_app
If your app has a Canvas presence, you may also use the Requests Dialog on iOS and Android
If your app does not have a presence on Facebook Canvas: You may use the Message Dialog on iOS and Android, or the Send Dialog on Web
I assume you donĀ“t have a Canvas presence? In that case you should not use App Requests.
Basically what you need is the list of all the friends of user on facebook to invite them. you can get ALL friends' list only if your app is in "GAME" category.
If not, then you can still get the friend list of user , but only some, not all. refer to terms friends and invitable_friends on facebook.
So, here are few things you can do (BUT NOT RECOMMENDED AT ALL)
Change the category of your app to "GAMES" & you'll be able to get
all friend's list & then you can use WebDialog & WebDialog.RequestsDialogBuilder to invite that friends
give any link to canvas URL on facebook app setting. that link will be used only when user clicks your notification from web. that link won't affect your app in any way.

Is possible upload image with facebook sdk with description on android?

I want to only simple upload photo with facebook sdk. I have installed native app, but did not make submission for publish_actions. Is possible upload image without this permission with my description or create publish dialog with default description?
i could not find class with this ability
Thanks in advance
If the app is intended to publish only on your account or any developer, tester account you added in app page in Facebook developer then you don't need to review your permission and you can use it right away.
Or you can invoke the share dialog which doesn't require the user to be logged in at all.
Ref: https://developers.facebook.com/docs/android/share

Android How to like Facebook Account using Android App?

iam develop one app and up load to Play store, and create facebook account for that specific app.
Question: Is there any way to like a Facebook page using the Android Facebook SDK,? In one of the activity am create button when i click that button how to like My App Facebook account?
Edit:First is it possible in case possible how solve this issue? Any one have idea give me some suggessions?
see https://developers.facebook.com/docs/reference/api/page/.The Facebook documentation for Pages has been updated and is current . You cannot like a Page via the Graph API, even though you can read the like count information. There are not an API for it, you can try this. like android application page in facebook from application itself

Categories

Resources