Is it possible to send Facebook Messages (NOT on their wall, but a "Message") to friends using Spring Social?
If yes, which API do I use? If there is no such support in Spring Social, what's the best way to do so from a Java application?
The best way out that I could think of is to send an email at the ID : {facebook-id}#facebook.com, as it ultimately sends a Facebook message to the user.
For what I know, Facebook doesn't allow to send messages (and also asking friendship) with its API. So I think that you can't send messages to Facebook in a clean way. What you can do is make a bot that navigate the page on the server side and click buttons without user interaction. But I think that it's not so legal...
I would take a look at this site
http://www.springsource.org/
This website has all the information you need to get started with SpringSource. Here's a link to their forums
http://forum.springsource.org/index.php
Related
I need help with Microsoft teams integration. I have an system from which I want to send chat message to a particular user in MS teams upon an event in my system. How do I go about implementing this. The teams graph api documentation is not looking clear to me. Like it has body but no head and tail. I'm confused on where to start for this. I understand I need to use Graph API's create/send chat api to send messages but it says I need to configure a delegate user for this? How do I send messages on behalf of a external system? Can I can use Teams Java sdk based application? Or I need to create a bot? But I think it's for one-2-one conversation is it? I only want to send a one way message from external system to user. Someone with experience in this pls help me on a good approach for this.
All I want is to send chat message from external system to a user in teams.
You cannot use Graph API in this scenario if you want it on behalf of External system. The API is only available when you are having delegated permission.
Other option would be to create a Notification only bot. In this case please keep in mind that the bot needs to be installed in Teams of user you want to send notification. You can use this graph API to install bot in user's Teams- Install app for User.
Once it is installed you need to have user's Conversation.Id and ServiceUrl (maybe store it in database for all users). When you are done with everything you can send Proactive messages.
I am making a desktop application for Reddit in Java. I want to let users log in to their Reddit account via my application so that they can do things on Reddit. I know that I need to get access tokens and whatnot but I don't know how to go through the process of doing that. Whenever I have accessed the API previously, it has been in Python using PRAW, so I would manually enter in the client id and client secret - obviously I can't be doing this for a professional application. I'd appreciate it if anyone would guide me through the process of authenticating the user and how to receive and use the access token.
You have to use oauth apis. There is a sample integration for reddit. https://www.e4developer.com/2018/11/04/reddit-api-authentication-with-java-spring/
also there are developer guide for oauth in reddit page
https://reddit.com/dev/api/oauth
Reddit github page have good documentation
https://github.com/reddit-archive/reddit/wiki/OAuth2
I'm working on webApp which one's feature will be to send invitation links to users by emails. I read about JavaMail but when I was testing this solution I noticed that it was working very slow. I was sending emails by my private gmail account and each email before send was authenticated and making this all magic staff which takes a lot of time.
So my questin is - how to do it properly? How to send thic invitation links faster? Maybe I need to buy some external smpt service or something like this? I'm totally newbie in this things so please just show me the way.
Thanks
I've a requirement to get a message posted by a normal user and following a specific discussion going on in private social network(Hum-hub). I'm looking for Java Api used in this
issue . basically i need to create rest service to get those messages and display in admin dashboard.
can, anybody help me in this issue? Thanks Rajan
I'm trying to write an OpenFire plugin to support Apple Push Notifications. My plan is that I want the client (iOS app) to send its token to my plugin servlet once the user logs in.
So far all I have seen people doing is add servlets for the Admin console, but my servlet is not for the admin console, it's supposed to be for my actual chat client. I just want the client to send me the token so that I can store it mapped to the logged in user, so keep in mind that I need to be able to get the currently logged in username. Does anyone know how to go about that? I'm new to OpenFire so please be patient. Thanks.
After doing tons of research, it so happens that Servlets is not what I was supposed to use at all. Instead, for this kind of scenario I should be using IQ Packets, which are part of the XMPP standard. Everything revolves around IQHandler: http://www.igniterealtime.org/builds/openfire/docs/3.8.2/documentation/javadoc/org/jivesoftware/openfire/handler/IQHandler.html