android facebook what is privacy policy url? - android

I am developing an android app.
It first asks permission(publish_actions) if it is okey it shares a bitmap image from my app.
In developers.facebook page, It requires privacy policy url. Do I have to add one? I am not using any information of users just checking if they are allowed my app after they login.If I have to, what is this privact policy?
Do I have to pay money to facebook because ı am using their sdk?
Can I use facebook icons?

If you share an image, you will need to have activated (publish_actions) ,because it is necesary for lets people post to Facebook using a custom composer, Publishes Open Graph stories or Publishes content to Facebook automatically.
So, to ask for approval of this permission is required have a url containing your Privacy Policy, but you can generate in http://www.generateprivacypolicy.com/, http://www.iubenda.com/.
you don't have to pay for use SDK

Related

How to Approve Instagram Api Permissions for Android App

I have just completed development of an Android Application that uses Instagram Api to show followers, following and who unfolllowed. The Api is in Sandbox Mode at till now and I want to submit the application to Instagram for permissions (follower_list, basic) approval. But submission page shows options just for website.
How can I submit Android Application for approval?
"website" is highlighted in the image.
According to the documentation, you must make a screencast(record your mobile app working).
I think you need put the company website url or if your app is on production environment on Google Play Store, so put the download link.
You can learn more here

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.

Posting with DENY privacy not working (And how to save privacy)

My android app posts a status with deny privacy for some friends (who cannot see), but it's not working. Here's my Graph API call:
POST me/feed?message=this is message &privacy='value':'CUSTOM','deny':'friend_1_id,friend2_id'}`
However, it's working with allow privacy like this:
POST me/feed?message=this is message &privacy='value':'CUSTOM','allow':'friend_1_id,friend2_id'}
How can I do with DENY to achieve my goal without using ALLOW?
(Important) How can I setting this custom privacy into user's facebook?
Because I want Facebook app to keep this privacy (user does not need to change the setting again when using original facebook app).
Note: My app works with Facebook SDK 3.8
How can I do with `DENY` to achieve my goal without using `ALLOW`
According to the facebook developers [src]: This is by design. When you use CUSTOM privacy, you should specify the allow field, or by default you'll be the only person that will be able to view this post.
So instead of:
POST me/feed?message=test&privacy={'value':'CUSTOM','deny':'[FRIEND_ID]'}
you should do:
POST me/feed?message=test&privacy={'value':'CUSTOM', 'deny':'[FRIEND_ID]', 'allow':'ALL_FRIENDS'}
(Important) How can I setting this custom privacy into user's facebook?
You cannot ever set anything that is part of the user settings, from the Graph API. This is strictly not allowed by the facebook.

Using Facebook Single Sign On (or other features) without the official Facebook app

I would like to integrate Facebook into an application - enable login using Facebook credentials (Single Sign On, to login to a third-party service), and also share some wall posts.
The problem is, I don't want to depend on the installation of the official Facebook app.
I heard about some solution involving opening Facebook login from a WebView, but didn't find details.
Anyone has experience with that?
Thanks
Yes you can do it using the OAuth for getting permission, then use the Graph API to post on users walls.
Please see this link for OAuth: http://developers.facebook.com/docs/authentication/
And this link for Graph API documentation:
http://developers.facebook.com/docs/reference/api/
especially for posting http://developers.facebook.com/docs/reference/api/post/
All Facebook APIs built on the idea that you perform request from a particular application (identified by application id). So the answer is NO, you cannot perform API queries (as well as authentication) without having registered an app.

Seamless Facebook Login

I am developing an app which allow updates shared with Facebook.
The app is running f9, but what I actually want is to have login credentials to be provided from my UI Login page. Please guide whether it's possible from the Facebook perspective
The official Facebook SDK for Android supports single sign-on, so assuming the user has the official Facebook app installed and authenticated (very often the case these days) there is no need for them to provide their credentials to you app, they'll just click through a permissions page. If your users have not authenticated with the Facebook app on their device they will need to provide them via Facebook's authentication dialog. Your users will be more inclined to use the Facebook features in your app if you use this approach over a custom authentication UI.
You can find more information on the SDK on Facebook's developer site.
Check out the facebook android tutorial on facebook's developer page. Hope thats what you are looking for.
Salil.

Categories

Resources