Best way to contact Facebook App Users - facebook

I have many Facebook App users but not so many on my Facebook Page. How can I contact my app users?

I don't think that there's a "best way" for this, it depends on what you're trying to achieve.
Check out the Social Channels guide which lists the different ways that facebook enables you to contact your users.
Also, check the Requests guide for more info about the requests (which are mentioned in the social channels).
Other than those channels which you need to use facebook with, you can ask for the "email" permissions from your users, persist that and then you have a way to contact your users without going through facebook.

Related

Graph Api - manage multiple Facebook accounts

I have a question about Graph Api from Facebook. We want to create tool to management accounts in facebook and groups releated with them.
Basic functionality of tool is possibility to add acounts to the system, and then add you can add multiple facebook accounts to each of them. Then, system get all posts from groups releated with facebook accounts.
I did research, and I know quite what is possible and what no, but many endpoints of API requires app review. My question is about this review - wheater app like that, when one user can add multiple facebook accouns and use data (like posts, comments) from them is allowed by facebook and will pass the review?
That depends on what exactly you mean by “accounts” …
Facebook pages? Sure, you can let your app user add as many of those as they like, for the purpose of managing them, reading feed data, etc.
User profiles? That would not really make sense, because every person is only allowed to have one personal profile on the platform to begin with. And adding other people’s profiles (by having them authorize your app, using their access tokens on behalf of someone else) is likely not going to fly in review either.
when one user can add multiple facebook accouns and use data (like posts, comments) from them is allowed by facebook
“Using data” is rather vague as well; what you can and can’t do with user data is outlined in the Platform Policy: https://developers.facebook.com/policy

Can i send direct messages to my clients facebook followers using API?

I have seen services advertising that they can message the followers of pages and accounts on Facebook. I have gone over lots of different Facebook API's and several interesting threads on here but cant find a definitive answer.
Is is possible to directly message via a bot users who like a page providing obviously we have a valid admin token for that page?
Is is possible to directly message via a bot users who like a page
No, that is not possible.
All communication via the Messenger platform API (basis for “bots” in Facebook terminology) requires that the user initiates it.
And it would probably be considered spam by most people - just because I liked your page, does not mean I want to be contacted by you in any way beyond that. Posting to your page is the designated way of communicating with the people that follow your page.

How to make a facebook app that automatically shares posts from a facebook page on my personal account?

I have a page and every time I post an update, I have to ask my Social Media team to share it from their personal accounts to increase the reach. I wish to automate this process by making a facebook app.
The app is supposed to share every new post automatically from accounts of those who signed up for the app.
I tried to look up for such apps, but couldn't find any. Is there some constraint that doesn't allow the existence of such apps?
If no, how can I create one? I have fair coding skills but haven't worked on developing a facebook app before.
Thanks.
Autosharing/Autoposting is not allowed, prefilling is not allowed either.
Platform policy: https://developers.facebook.com/policy/
That being said, publishing on a user wall is explained in the API reference, including example code: https://developers.facebook.com/docs/graph-api/reference/user/feed#publish

Social Media Linking

I've done a little searching and was wondering if there is a way to link a users account in our web app with their social media accounts they choose to link (facebook, twitter, etc). i.e. when they log into our web app they are auto logged into facebook, twitter, etc?
I see facebook has an api to login to our web app using their facebook book account but I want it to work the other way around, I want them logged into facebook when they log into their account via our web app.
Thanks,
Ryan
It is definitely possible-from your question I assume you would like to pull data and make actions on behalf of a user? If so, you will need the offline_access permission as well as all the other permissions you will need (check out the list here to see exactly which ones you require). Then, you can trigger a script on your server that tell facebook as soon as the user is logged in to your site, to log in your application as the user as well.
NOTE: You might be going about this in the wrong way. I would advise that you specify a bit more details on what exactly you need the user to be logged in for, and I can (probably) provide you with a decent answer.
EDIT: In response to your question in the comment, Ryan, here is my answer:
You need to divide this problem into 2 different situations-one: your company wants you to write all the code from scratch and don't use what facebook has to offer, in which case you should create a custom login script that enables your users to use their facebook account as the Actual user account in your web app. This is the best solution in my opinion, and is supported by the ever-so-awesome Jeff Atwood. Here's a link to how to do just this, and a tutorial about this also.
Or your company is comfortable with using Facebook's Social Plugins.
Then you should focus on Like Button & Comments : These social plugins are the best way to enable people to create social experiences if they're already logged in.

Integrating FB connect with Foursquare into an IPhone App

Does anyone know, whether/how it is possible to link your FB account to your Foursquare account within an own IPhone App? This is the functionality implemented by a lot of sites for their Web services.
The only thing I can think of is to come up with your own implementation. Basically have your own users table, when the user does a connect with facebook, you store his FBId in your users table. Later if he wants to connect his Foursquare account, you simply store his FS id also in the users table. For more flexibility you would have a users and a usernetworks table. Usernetworks could have the linked social networks in it.
This is the simplest solution I can think of.