Two Facebook apps for the same website? - facebook

I have a web app in which users can have a variety of activities and I want them to be able to share them on Facebook using custom Open Graph stories.
There are also public pages and I want my users to be able to share those pages on Facebook using the share dialog (including those who did not use the Facebook login).
Those two kinds of sharing are incompatible in a single Facebook app:
publish_actions is only for custom-built sharing experiences. If your app triggers a Facebook dialog to share, you won't be approved for publish_actions
Would it make sense in this case to create two Facebook apps? If not, what is the recommended way to handle this?

Related

Facebook Graph API sharing after publish_actions permission is removed

I am developing an Web App from which users can share content to their Facebook profiles or pages.
Facebook has said in their breaking changes that they will remove publish_actions permission from August 1st and alternatively if we want to let the users of our app share to Facebook we need to use their sharing products.
The problem is I want my users to be able to share to multiple Social Media's, that they have saved in our app with long living token, through a single click. This doesn't seem possible with the method mention by them using their sharing products.
I would like to know If there is some method for doing this using saved long living token's or If there is any way by which I can retain my publish_actions permission, for example like partnering with Facebook

Create multiple Facebook messenger bots with one app

The Facebook messenger bot API seems to require you create a Facebook app for each bot, for each page. The Facebook app stores the webhook, and connects to the page.
Is there a way to have a single Facebook app for many bots connected to many pages?
If you create a bot to resell to clients as a service, you need to be able to do this. But there does not seem to be any way. You need to create a Facebook app for each client, and go through the Facebook app review process for each page which is very difficult.
How can this be avoided?
Can a single Facebook app have multiple webhooks, or access to multiple pages messages?
You can create one chatbot and can use this bot in multiple Facebook pages. All you need is to store PAGE_ACCESS_TOKEN for each page and response messages to the user with right PAGE_ACCESS_TOKEN. You should get the necessary permissions to get page access tokens by Facebook Login. And then you need to subscribe the page to your chatbot(app): https://developers.facebook.com/docs/graph-api/reference/page/subscribed_apps
One important thing is Facebook generates a unique identifier for users for each page. Some user#A will have a different SENDER_ID/RECIPIENT_ID on different pages.

Facebook: custom Open Graph needs Login?

I would like to share a link on Facebook and make it show up on the Timelime as a map.
I have seen some apps like Runtastic are able to publish links as maps, by definining the map coordinates inside the html source of the link.
Ideally I would like to share such links using the simple Share Dialog, without implementing the full Facebook Login systems inside my Android and iOS apps.
But I found this written on the documentation:
To publish Open Graph stories with the Share dialog, you do not need
to implement Facebook Login or ask for additional permissions. For
more information, see Share Dialog.
If you create a custom sharing UI to publishing Open Graph stories,
you need to implement Facebook Login and request the publish_actions
permission from people using your app. This also means you need to
submit your app for review, see Login Review.
Does it mean that if you want to share custom Open Graph stories, you always need to implement Facebook Login on your mobile apps?
As far as i know, and as i understand it, it depends whether you want to share it from inside your app or not.
If you want to share it from inside your app, then yes, you'll need a login.
If you are ok with just giving the link over to the facebook app, then giving permissions is al you need, and then make the final post inside facebook, as you usually are logged in aready.
How to create the Open Graph Object is described in Facebooks API:
https://developers.facebook.com/docs/sharing/opengraph/custom
And also is there another answer which could help you:
Using Facebook Open Graph Story with map attachment (GeoPoint)
I hope this helps you

Facebook mention tagging users outside of your app?

Facebook recently allowed mention tagging in the Open Graph
https://developers.facebook.com/docs/opengraph/mention_tagging/
I'm working on developing an application to share photos and I want my users to be able to tag other Facebook users via mention tagging even if these Facebook users are not currently using my app.
From their API, it appears to be possible, however, I haven't been able to test it out because it requires a Facebook approved action for tagging.
I haven't been able to test it out because it requires a Facebook approved action for tagging.
Actions do not have to be approved for them to be tested with test users.
So just create two of those from your app settings panel, make them become friends … and go ahead with testing your mention tagging.

Retrieve users friends for tagging

How does one retrieve a users friends using facebook connect so that a user can tag their friends in a post?
I am using sharekit to post images to a users wall, but I want to also add the option where a user can tag friends in an image before posting.
How does one allow tagging in an iOS app?
I believe that Facebook Connect is too lightweight for that; it is designed for fairly simple interactions hosted on 3rd party (non-Facebook) site. I think you will have to build a Facebook App to do what you describe.