fbconnect play framework 2.0 - fbconnect

I spent an hour of my time to search how to use fb-connect module with play framework 2.2.0... I tried to install it using this command : play install fbconnect-0.6 but it says that "This is not a play application!"
Is everyone can help me to resolve this problem please ?!
Thx in advance..
#mayes

The fbconnect plugin you are referring to is most likely for play 1, there is no "play install" operation in play 2 so it is looking for a project called "install" which does not exist, hence the error message.

Related

'E: Unable to locate package hydra' In termux

I started to use termux in my cellphone, and looking for information I find that I can install hydra in it.
However, when I use the comand
pkg install hydra
All I get is an error message as you can see in the title. I've tried to update and upgrade the system several times, but I'm still getting the same error.
So, I wonder... is there a chance that this library has another name? (I said it because I've seen other comments with the same error in other posts)
So please, can you help me to solve this?
Additionaly, I upload 2 pictures: the first one with the error message I get. The second one is some information that I think I might help (when I seach for that command 'hydra', it seems to be not found).
Thanks in advance.
As you can see here Hydra package has been removed from Termux repositories and no longer installable.

Azure Communication Services with Ionic

I have a working project with Twilio + Ionic, but I'm wondering if you can help me with adding Azure Communication Services(video call) into my project. I tried to follow the example from the official website, but I think it's not just installing npm library and adding it as usual in my project.
If you want to see a working sample, you can use this: https://github.com/Azure-Samples/communication-services-web-calling-hero
If you're still stuck, please respond here and I'll try to help you directly.
Invalid CommunicationUser identifier specified

jHipster shows "An error has occurred :-(" While opening the application in the Internet explorer but works fine in chrome browser

JHipster throws the following error message at me when tried to open the application in internet explorer. But works fine in the Chrome browser.
My jhipster has spring boot with react and is connected to IBM db2 database.
Tried opening the application after running the command 'mvnw'
and also tried with 'npm start'.
Both the commands give the same result.
An error has occurred :-(
Usual error causes
1.You started the application from an IDE and you didn't run npm start or npm run webpack:build.
2.You had a network error while running npm install. If you are behind a corporate proxy, it is likely that this error was caused by your proxy. Have a look at the JHipster error logs, you will probably have the cause of the error.
3.You installed a Node.js version that doesn't work with JHipster: please use an LTS (long-term support) version, as it's the only version we support.
Building the client side code again
If you want to go fast, run ./mvnw to build and run everything.
If you want to have more control, so you can debug your issue more easily, you should follow the following steps:
1.Install npm dependencies with the command npm install
2.Build the client with the command npm run webpack:build or npm start
3.Start the server with ./mvnw or using your IDE
Getting more help
If you have a question on how to use JHipster
Go to Stack Overflow with the "jhipster" tag.
If you have a bug or a feature request
First read our contributing guidelines.
Then, fill a ticket on our bug tracker, we'll be happy to resolve your issue!
If you want to chat with contributors and other users
Join our chat room on Gitter.im. Please note that this is a public chat room, and that we expect you to respect other people and write in a correct English language!
Check out this issue - https://github.com/jhipster/generator-jhipster/issues/8250
Looks like IE is not supported at all
Finally, after some research and help from others, I figured out we need to add the polyfills to the jhipster project, Usually in the head tag of index.html file.
I tried downloading the polyfills.js and loading into my application via a script tag, but nothing seems to work, What I did instead was used the cdn from cloudflare and inserted in index.html, Which started to work like a charm.
<script src="https://cdnjs.cloudflare.com/ajax/libs/js-polyfills/0.1.42/polyfill.js"></script>
Note: An important thing which I learned over my experience is, It makes necessary to include these polyfills to the react project if it has to work in Internet Explorer.
Suggestion from https://github.com/jhipster/generator-jhipster/issues/11566
A quick dirty workaround, set all compile option to es5 :
tsjconfig.json "target": "es5" "lib": ["es5", "dom"],
webpack.common.js mainFields: [ 'es5', 'browser', 'module', 'main'],
Fixed!
Google is doing a great job in discovering new websites and content, but sometimes we need to force Google to crawl(reindex) our website, either all of it or individual pages.
So the reason we see "An error has occurred" - it's because at the first time Google saw our site (index.html file) it indexed without additional tags.
Step 1:
Add additional meta tag in head part your index.html page:
<meta name="Description" content="your-description-here">
Step 2:
Use Google Search Console for reindex your site.
https://search.google.com/search-console/welcome
P.S. Ask question to google: "How do I get Google to recrawl my website?". It will help you to better understand Google Search Console and why you need to use it for fixing your error.
After a little research, I found we have to run the UI app also in another window using npm start, which solved the problem for me.
I had the similar challenge recently and the application was not working on Google Chrome only. It was solved by adding the lines highlighted in blue below to the application yaml in spring-boot:
Also not that the content-security-policy needs to be understood properly before altering these changes because of injection.
Reference materials: https://www.baeldung.com/spring-security-csp and https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/worker-src

Newcomer with AppGyver problems--Steroid and Composer

**Ok so I've been taking some courses on codecademy on coding and programming and wanted to start a project to test out some of what I've learned. I want to build a Instant Messenger Chat app for phones and after much research I've decided to use AppGyver to build my mobile app.
On the forum I asked what to use and someone informed me that Composer is pretty easy because of the drag option and other stuff but that started frustrating me, there are no good tutorials that show me what everything does on there, esp for what I wanted my app to look like (plus I don't have an Apple smartphone or anything like that so that scanner thing was unnecessary) so since I am familiar with HTML from codecademy I decided to try my luck with that, there are more tuts on that (video of course) and I'm having issues. I went through the steps on the website and everytime I got to the step that asks for me to post this in Node.js
-- npm install steroids -g --
I get a message that keeps saying the same thing--that Python is installed just fine but the error is command 'git' not found. What did I do wrong?
Also I can't seem to locate a repository for Git GUI, I'm not sure what I'm supposed to do there either. Could I get some help as to what my problem is? Thank You in advance.**
I assume you've used the install wizard on the site? It has comprehensive instructions for installing git, which is required for the npm install to work. If you are using Windows, remember to check the "use Git from Windows Command Prompt" checkbox when running the Git installer, after which restart your terminal window and continue with the guide. For further assistance, you should turn to the AppGyver forums.

Phonegap makes me confused

I've new to app development and I thought of trying Phonegap. I've already downloaded Node.js and git.client. I have 4 questions:
1) So, I'm installing the PhoneGap and as soon as I type the first line of code from : into Terminal on my Mac, I keep getting asked a password. What password are they asking for and how do I type it in? Or do I just move on without a password?
2)Once I'm done with that, I move on to docs.phonegap.com and head to the Command Line Interface guide. I'm running the code on terminal and can't seem to run the platforms for android, blackberry10 and amazon fireos as said in:
Does this mean I need to install other things in order to get the different platforms running?
3) Moving on and working on the ios platform, I'm suppose to test the app on a emulator or a device, just like this:
All I did was change the "android" to "ios" in the code, but when I do that, it seems I need to download something from GitHub or Nodejs. What do I install?
4) When I'm at GitHub, a lot of the downloads are clones. Does this mean it is illegal?
As you can see, so stuck! Would really appreciate your help :)
You will need to sign up for their developer program and then enter that password
1.) It asking your PC login password, because you are installing a new SW.
2.) Yes, you must install many other SW for diferrent platforms. Cordova is only FW, not IDE...
Android need istall Eclipse, into it ADT plugin and android developer tools, and so on with the other platforms. Things you are need to know are in in docs for every platform.
How you can ask question No. 3 before you don't have answer on the first and the second question?

Resources