can someone please help me out, how would I connect facebook and twitter up to the same button? So for example someone has written a status update, and with a one button press it sends it both to Facebook and twitter?.
Thanks..
What you can do is create a service that first connects and authenticates with users Facebook and Twitter account. Once that is done then you can call that service to post the update. Let me expand:
There is a service called IFTTT https://ifttt.com/
What this service does is authenticates both your facebook and twitter account (one by one). Once IFTTT gets the permission, then whenever you post something on any one these accounts, it calls the service and does the same on other account. So, you can create a recipe:
If I post on Facebook, then post on Twitter as well.
Related
I went through the documentation for creating a chatbot for messenger platform.
All I find there, I need a server, which in the case used as a service for the Facebook platform.
The server also validates the webhook from facebook app.
Now I see, for a chatbot, I need a facebook app, webhook server and definitely a facebook page.
Then I find an application Flow XO, where I only put the page name and the bot is ready.
My question is, how they(flow.xo) can communicate facebook page without a Facebook app(appId, appSecret) and webHook.
My question is, how they can communicate facebook page without a Facebook app(appId, appSecret) and webHook.
They can’t.
They use their server and their app to communicate with the API, on behalf of the users that grant them access to their pages, by providing the necessary permissions when they log in to that app.
Facebook allows to create a Facebook App which integrates multiple chatbots. At Amio, we ask you for permission using Facebook OAuth. When you give us these permissions we send and receive message on your behalf. This allows you to create a chatbot using Amio API without need of creating a Facebook App.
Facebook Page is always needed as this is the entry point of users interacting with your bot. You can check Amio documentation for more detail.
I have a facebook messenger bot that sends a webhook to my web app. People can login to my app via facebook login.
The first user contact is normally with my facebook bot on which they can create a profile. When they make contact I take their facebook id, name, profile pic, etc.
Users can then login with facebook to my web app to enhance their profile.
My problem is facebook uses different scoped ids for messenger and their login.
How can I recognise if a user has already been on my facebook bot if they use my web app, and vice verca.
I think it has something to do with the business mapping api: https://developers.facebook.com/docs/apps/for-business but I'm struggling to understand how it works.
I am sending a get request using:
GET /me?fields=token_for_business
But the docs do not specify the full url to use. I'm also unsure if you can use this in developer mode.
facebook provides an id-matching api
for the app and pages owned by the same business manager. More informations:
https://developers.facebook.com/docs/messenger-platform/identity/id-matching
I'm using the javascript API to link a website account to a users facebook account but I'm not sure if I'm doing it the best/easiest way.
I've created a facebook app
Used the FB.ui feed option to allow the user to post to their timeline
This works fine but the ui will ask the user to login each time they start a new session on the website. Have I missed something? Do I need to store and use the User Access Token?
I have been some time trying to figure out how to solve this. Let me explain in detail to you.
I'm developing a web app in Spring MVC and Spring Social. By now, users can sigin and signup with Facebook, Twitter and with user/password. Even those users signedin with Facebook/Twitter are able to share.
Now, the webapp owner wants that any user signedup with user/password, he/she can link his/her active account with his/her Facebook profile. This way, those users can post on his/her Facebook wall.
Any of you have an idea about how to accomplish this?
By now, I have tried to get FB token through Graph API http link, but URL shows FB secret property.
Any ideas?
If i am understanding this correctly a very similar scenario is covered in the spring social sample project: https://github.com/spring-projects/spring-social-samples
Once a user is logged into your webapp
They would need to connect to Facebook via spring social (Spring social connect controller would handle this).
They would need to authorize your app to access their facebook.
(spring social does this), After the authentication process you obtain a key that you can keep for the next session.
Once they are logged in, you have an instance of Facebook Connection(spring-social-facebook creates this), and you can use it to post to their wall
connection.updateStatus("I've connected with the Spring Social Showcase!");
There are also other operations you can perform against the Facebook API.
Hope this helps answer your question.
Thanks,
Paul
I want to develop a facebook application that make auto post to a facebook page
like this one http://apps.facebook.com/twitter/ but my application get post from other site
when user make a post in my site it will send to the facebook page even this user not loged in facebook or not page admin .
tnx for help
Yes, you can do this. You'll need to do an initial login to facebook through a webservice and request elevated rights (publish_stream and offline_access), and then save the authentication token that comes back. You can then reuse this token and post to a facebook wall without anyone having to explicitly login to facebook.
I did this using Hammock to create the webservice calls to facebook.