Best practice for custom subscribe action in Facebook app? - php

I want to implement a facebook app, where I have several authors, which can post updates (text + image - similar to a very simple blog). Actual facebook users can browse the authors inside the app and read their entries.
I now want to create the possibility for facebook users to subscribe to one (or several) authors.
I currently only see two possible solutions:
Store the Facebook ID of the user who wants to subscribe to the feed and send out mass wall updates to every subscribed user, as soon as an author publishes a new entry.
Use the new subscription functionality, provided by Facebook.
To 1.:
This smells like spam.
To 2.:
Seems to be a more sane way, but I can't find any documentation for custom subscription feeds. Is this possible, at all?
Please keep in mind, that it is not sufficient to subscribe to the complete app, since every author should have an own feed.

Related

Building link to post in facebook business manager

We are building an app that creates campaigns and publishes these on our users facebook pages trough our business manager account. We have one part here where we want our users to be able to view their post on business manager. Mailchip does this for example using the following link format:
https://business.facebook.com/{page-id}/posts/{some-id}
The problem we have though is that we can't find the last ID to place in the URL. None of the ones we've found from the API works (campaign_id, ad_id, ad_set_id, ad_creative_id, object_story_id etc).
It is possible to get to this link from inside the business manager if we go trough the notifications and click on a notification related to the post. It perhaps would be possible to go this way but we also can't find anything related to this in the documentation.
Anyone knows how to retrieve this ID?

Send Facebook invitations only to people who are not registred on my website

For my current project I'm building a Laravel project where each customer will manage his company online. Each customer will invite his users to join his company on the platform, and we will use existing social networks for that, and especially Facebook. But I'm struggling with that invitation system.
Each customers will have to link their business page online with the Fabook Graph API with a page access token I'll stock on database. Like this customers will be able to send invitations through Facebook from our platform.
The problem is that I would let them invite only people who are following them on Facebook and are not on our platform. I saw that it was not possible from the Facebook GRAPH API to get the list of users who liked a Business page. It's only possible from the user to know if he like a specific page if he gave the authorization.
I would like to know how could I reach that goal ? Indeed, I would like to avoid people who are already on our website to be spammed on customers Facebook pages. Would it be a good idea to create a Facebook App linked to our Laravel platform to have more possibilites here on check in system ?

Wordpress Opt-In Form with Social Login to receive Leads from Users

Dear Stackoverflow Community,
I am an Online Marketer and I am facing a problem: People are not converting when visiting my page through a smartphone. My interpretation is: they are lazy, as I am too.
I am not too terrible deep into programming Wordpress, but I thought about something and seeking advise:
I want to to build a Opt-In Form, which uses Facebooks "Social Login"
to process the Lead.
I need to find a way to get the "E-Mail-Adress" through the Facebook open graph API.
I generated a lead with one simple click.
I guess Online Marketers are graving for a feature like this!
So my question is:
Do you think it is possible to build a Wordpress Opt-In Form which uses Social Login (Facebook, Google) to receive E-Mail-Adresses from my users?
Maybe someone has some experience with this.
Best wishes
Dennis
I don't think there is a way to capture user's email address from facebook without permission of that user. However, there are a number of plugins that show popups and widgets to get users to subscribe to your newsletter etc.
https://wordpress.org/plugins/optin-forms/screenshots/
Also, if your content is good and if you create a catchy Call to Action, then it's possible to get more people to subscribe to your blog.
Isn't the process of opting into a subscription more involved than simply entering a name and email? Personally, I will ignore an optin form that requires me to do a social login.
Using a regular WordPress opt-in form plugin would suffice.
By the way, do you have any data that shows conversion is low because social login isn't present?

retrive tweets in real time and send emails with the tweet text

like most of the support systems like zendesk do, I need a way to send email for every new tweet with the tweet in it.
In Zendesk we can attach twitter account, so every tweet on that account will be turned as support ticket, so it is possible to retrieve them in real time or twitter post any http request to a specific URL on every tweet?
I'm not sure exactly what you are trying to achieve ?
If you need to allow users to attach a twitter account to a system your end and have every mention of that user to a new support ticket, it is indeed possible. You will need to look at the Twitter API docs.
https://dev.twitter.com/overview/documentation
Specifically look at the mentions_timeline. From here for each tweet you look at for the specific user you could create a new ticket. You could further enhance the logic by making sure you didn't log tickets for replies etc to ensure you are not duplicate logging incidents.

Inviting app users to an app created event - is it possible?

I have a question regarding the creation of event invites by a facebook application, and the ability to invite the users who have approved that applications permissions to this event.
For example, we are a local nightclub who have an app allowing users to connect with the app to see who else is attending events etc, and keep up to date with information about the events we host. It would be ideal to be able to send an event invite to these users when we have special events or theme nights.
Currently the app has around 10,000 approved users.
Just really looking to find out if this is at all possible with the new open graph api? In particular the info provided at:
Event API Reference
How To Use the Graph API to Manage Events
There does seem to be some confusion over what these posts say can be achieved, and what actually can be achieved.. unless those that I have previously spoken to are still basing their opinions on the old rest api.
Clarification and pointers appreciated!
The HTTP POST if you use the ?users= can only handle so many IDs before the length of the url overruns. Since it's a post, you can specify the users parameter and then a comma separated list of ids for the value. Try it out here: http://developers.facebook.com/tools/explorer?method=GET&path=me

Categories