Git push, post commit-comment to wall of facebookgroup? - facebook

I guess this is a pretty rare question, but it would be pretty cool if there was someway of doing this. My company has a private facebook group for all the employees and I would like if all the pushes i do on my repo i have on bitbucket.org would also show up on that facebook group.

Here's an easy way to make it post to Twitter: http://confluence.atlassian.com/display/BITBUCKET/Setting+Up+the+Bitbucket+Twitter+Service
I used to have an app in facebook that retranslates my twitter onto my wall. Don't know if this can be done with a group.

Bitbucket doesn't have facebook integration yet. So you can either write your own script, host it somewhere and use POST service or write python broker for facebook and submit it to bitbucket support: http://confluence.atlassian.com/display/BITBUCKET/Writing+Brokers+for+bitbucket
It is likely they could accept it, as long as they already have twitter integration

Related

Is there a way to use POST/GET Requests for messages, on your Personal Profile on Facebook Messenger

I've looked through the API and it's all for Facebook Pages to set up a Chatbot.
I wanna be able to set up a Webhook/Listener for chats/messages on my personal profile (to mess around a little).
I'm asking cos I can see unofficial Messenger apps on the Play Store, and they don't look like just a web implementation.
No, there is no way to do that using the official APIs.
Read access to user conversations has been removed a long while ago already, and there is no webhook functionality for this either.

Integration of facebook to a CMS

I am currently creating a CMS for internal use. We currently have a situation where we post something on our Facebook page, and then have to copy and paste it on to our corporate website.
The thought process is now to try and use a in house built CMS to drive both the website and FB. My initial thought process is that there will need to be to way flow, i.e We need to be able to sync Facebook with our website database, but also our database with Facebook. This should not be a problem, with the Facebook-SDK I have successfully retrieved posts, links, statuses, photos we have posted to Facebook.
My problem comes in that it would be great if I could some how replicate the notification of Facebook, so that if someone likes a post on Facebook, we get a notification in the CMS also, is this possible? Can you pull notifications from Facebook?
Other points I need to consider is can I create a gallery of images on my website, and send those to Facebook to create a new gallery? Can I pull comments from facebook, show them on my site, and allow people to add to them through a comment form, but send those comments to facebook also?
Any body any experience of trying to drive facebook from an external source?
How about using iframes? It's easy to use, you only have to be logged in on facebook. I'd do something like this:
<iframe src="http://www.facebook.com/your-site-here" class="cms_block"></iframe>
You just have to look into your global.css file, what kind of class is to your cms blocks associated with. Or define it manually:
<iframe src="http://www.facebook.com/your-site-here" style="display: block; width=: inherit; height: inherit;"></iframe>
I don't think you are going to find the solution in the Facebook APIs so you'll probably need to code something yourself. You could poll the Facebook feed and send notifications when you detect them.
You might want to check out https://ifttt.com/wtf - not sure if they will be as granular as you want (to notify post 'likes') but there are various FB events you can monitor and act on. Check out some of their public recipes: https://ifttt.com/recipes/1789-tweet-my-facebook-status-updates.
I've been working on a somewhat similar problem and decided to maintain FB as CMS and pull the feeds from FB into my site rather than try to keep the two systems in sync.
Good luck and post back how you solved if you get a chance!

How to merge comment stream on Facebook events and my own website

I have a website that allows people to post events and it automatically posts their events to facebook if they so choose. I also integrated facebook comments on the event pages on my website.
Is it possible to merge the comments that people leave on my website's event pages with the comments that people leave on the facebook event page that was automatically made for them? I can't seem to find any documentation on this.
Edit: Just to clarify: The comments on my website are done via the facebook-comments API, they are not a module of my application.
Adding a separate answer, as after clarification it's significantly different.
If you want to basically have the wall of your event show up on your website, you can use the Event API to pull in wallposts and display them. To be able to post to that wall, you would have to do some custom coding to authenticate the user with publish_stream permission and then have a form on your site that would post to the event's wall, as noted in the post section of the above link.
Someone may have done this already and put code out there, but I doubt there is an easier way to get your ideal situation up and running. This use case isn't as automagic as the comments box, unfortunately.
If you're just looking to spread your events socially, however, the comments box will post to the commenters' walls with a link to your event page, which can then in turn point them to the Faecbook event. You might be able to use the Facebook event's URL as the URL for your comment box on the website, so it would just post a link directly to the Facebook event, but I'm not sure on that one.
I looked at this in my app, and we ended up deciding to just maintain separate streams. This is because it's only a one-way integration - you can get comments from Facebook via the Graph API and format them on your own website, in-line with your website comments, but there's no way to push comments from your website up to Facebook.
You could, if you wanted, just use the Facebook comment form for all comments - this has been done by big sites such as TechCrunch, and is effective, but it requires users to have a Facebook, AOL, Yahoo, or Hotmail account. Whether you want to do that or not depends on your preferences and userbase.
there a tool that combines comments form different pages or different sources
Check https://feedgun.com which works on pulling comments from different sources like YouTube videos, existing wordpress sites, facebook comments plugins and even DIsqus account and combine them all together and publish them on any of your webpages, and it all works automatically once you set them where to pull and where to publish.

post to subscribers' walls automatically

I need a wordpress plugin to automatically post every article to a facebook fan page I own.
==old question==
In my wordpress blog I'd like a "subscribe with facebook" button that lets a user subscribe to my posts, so that they appear on their profile on facebook (something like an RSS subscription..)
Is there anything like this? How could I do something similar in wordpress easily?
Maybe we could find a way to automatically post new articles to a facebook fan page, and then users could easily subscribe to that fan page. Is it possible?
All of what you describe is technically possible, although you do run a risk of running afoul of Facebook Platform Policy violations which will get your app shut down by Facebook.
The approach of posting to a fan page is much safer from a policy perspective.
I recommend a close reading of the Platform Policies section IV at https://developers.facebook.com/policy/
To post to the wall you will need the offline_access and publish_stream extended permissions.
I do not know if there is a WordPress plugin for this already or if you need to whip one up yourself.
You ask if there is anything like this, and RSS Graffiti seems to be what you are looking for.
If you want to roll your own, you can write to your Page feed using the Graph API. It is more work than it seems at first though, as you have to keep the oauth token updated (it can change even if it is long lasting, for example when you change your Facebook password), take care of getting correct permissions etc.

Anyone know of a good tutorial for Facebook authentication?

I'm linking my app to Facebook, and would like people to log in with their Facebook account, but I can't figure out how to do this. I had read up on Facebook Connect, but it seems that that's not used any more - but every tutorial I can find seems to refer to it. When I try to follow them, it doesn't work, because the interface has changed.
So, can anyone direct me to a tutorial or guide to doing this the new way?
Basically, what I want to do is this:
A user who is signed into Facebook and comes to my webpage is automatically logged in to my app (with the usual Facebook 'granting permission' windows etc), or can sign in with their Facebook account if they're not already logged in.
I then want to use Facebook to link users with their friends who are also registered on my site, so they can share things.
I would also like to have access to Facebook comments made on wall posts from my site - so the comment stream for a particular post can be seen on my site as well as on Facebook, and comments can be made on either.
If anyone can point me in the right direction (or even tell me what I should be typing in to Google!) I'd be very grateful.
Thanks.
Some sample apps that do many of the things you speak of are shown here. The Graph API is probably your best bet right now for delivering the content and access you need and there are numerous tutorials online for how to use it, including the Facebook Developers site itself.
You will find good Tuts on ThinkDiff, e.g.
http://thinkdiff.net/facebook/new-javascript-sdk-oauth-2-0-based-fbconnect-tutorial/
http://thinkdiff.net/facebook/php-sdk-3-0-graph-api-base-facebook-connect-tutorial/
http://thinkdiff.net/facebook/graph-api-iframe-base-facebook-application-development-php-sdk-3-0/
I know this is an older question, but the current method for authentication is OAuth 2.0.
Facebook provides a pretty good outline of what steps are necessary in this Reference:
https://developers.facebook.com/docs/authentication/client-side/
This example allows the authentication to occur entirely in Javascript on the client side so that you can request a potential user to authenticate via Facebook and then confirm access to your application.
If the user is already logged in, only the access confirmation for your application is performed.
If the user is already logged in and access has already been granted, the user is not required to login, or reconfirm access.