Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I'm trying to raise the limits for my application because after ~50 or so requests the app becomes non-functional. How can I do this?
This is the error:
Fatal error: Uncaught OAuthException: (#341) Feed action request limit reached
What #DMCS says is correct - there is an internal system at facebook that monitors user feedback - that means invites that users have declined, users that have blocked or hid your applications stories in their feeds, and possibly some sort of ratio between users that installed the application and removed it.
I was having trouble with these limits when I was developing the part of my application to do with user invites. After testing the application by sending requests and accepting declining them quite a bit, I noticed some limitations being enforced - before my application even went live!
That was when I learnt about sandbox mode in the application settings panel. When an application is in sandbox mode all the calculations and limitations are not enforced. Now you can go about testing your invitation systems without worrying about beeing deemed a "bad" application. In addition only those users which you have granted access using the developers app role tab ( https://developers.facebook.com/apps/YOUR_APP_ID/permissions ) will be able to see and use the application. Another thing to note is that invites sent from an application in sandbox mode will not be received by users who have not been granted access.
Facebook rates these limits on a per application level. At F8 in 2009 people were asking about these limits and how they are being calculated, but everyone was shot down. Their algorithm is very hush-hush. The best way to get any limit raise is by being a good app, the way to get them lowered is from being a bad app. Facebook uses a lot of user feedback to help them determine if you're being naughty or nice.
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
I have been using Firebase C++ SDK's Auth and Realtime Database (for Windows) in a simple test application. After a succesful authentication every new message (node) is being arrived from the cloud within just a few millisecs until the following happens:
I leave my computer untouched in idle state.
Due to the energy settings it goes to sleep after 10-15 minutes. (don't want to change the settings!)
After I wake it up again the network connection is re-established for all other background applications (like Skype, Outlook etc)
It seems Firebase's connection is NOT re-established.
Is there any built-in function to get notification from Firebase when it's lost the connection and try to re-login, re-connect to the database either automatically or manually?
I guess it has a background keep-alive connection to check network status but I couldn't get any useful information about it. The documentation says it can keep everything synced even in offline mode.
any built-in function to get notification from Firebase when it's lost the connection[?]
For that you'd attach a listener to the virtual .info/connected node, as shown here: https://firebase.google.com/docs/database/android/offline-capabilities#section-connection-state. Somehow this section is missing from the C++ documentation, which is why I linked you to the Android version.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 6 years ago.
Improve this question
I just logged into my online credit card account and was getting ready to make a payment, however I needed to add a new payment method. In doing so, just out of curiosity I opened the Chrome Developer Tools and looked at the network tab to view the request data I was sending, and it seems that everything I put in (credit card number, bank account number, bank routing number, etc.) is all sent directly to their servers in plain text.
Is this legal? I thought it was against the law to send/store this kind of information in your servers, let alone send it via the internet in plain text since that can be intercepted?
I'd like someone with more knowledge on the subject to explain this to me please, as I may be misinformed.
Edit: I guess a better question may be, are members of the FDIC allowed to store such information on their own servers? Because according to their legal information, they are a member of the FDIC.
The communication between your Chrome web browser and the bank site expected to be thru HTTPS, i.e. secure connection. Check this always when you need to enter clear payment details anywhere in web.
Chrome Tool as the network tool just show the HTML Forms and Items values which were sent thru HTTP/HTTPS protocol.
For sure at some stages of payment request you need to enter payment, card or bank account details. The payment services which processed such details should be PCI complain and depending of situation can store these details. Usually encrypted on their side.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am trying google cloud compute server, everything is working fine like I am able to connect using open in browser window , But when I am trying to connect using putty , its not working , i am following below docs,
https://cloud.google.com/compute/docs/instances/connecting-to-instance#putty
I also added public key into vm instance but no luck , when I am trying to connect using putty always getting below error:
Disconnected : no supported authentication method available (server sent :publickey,gssapi-keygen,gssapi-with-mic)
on server /var/log/secure
below error there,
error: Received disconnect from 223.165.28.230: 14: No supported authenti
cation methods available [preauth]
don't knew why this is not connecting .any one have any clue, please reply.
As I am new in Google cloud server so it takes sometime to undestand its authentication model,obvious borwser based ssh is good for new user but when we are handling large number of server better to go with key based (putty) method,because it is already used to and sometime we need to transfer file from our local workstation so that time key based auth is best.
finally I understnad the auth/key management of google cloud, yes below google docs are good for understand .
https://cloud.google.com/compute/docs/instances/connecting-to-instance
and for generating key ,
gist.github.com/feczo/7282a6e00181fde4281b
Above link is very very good for creating new instance/single node key management, so please read this docs first.
Note : please use cluster wise key for better management of users and servers authentication process, add key details in metadata -- sshkey , add your key to get access on all vm, yes sometime we need node wise so follow gist.github.com/feczo/7282a6e00181fde4281b ,to enable only one user for this node disable project -wise key under vm edit ssh key options .
Please read both docs before creating google cloud VM server.
Thanks Jarmod for your reply and make me understand the process
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I'm interested in how I might send requests from a web server using Python to a constantly running C++ program. Basically users should be able to send "orders" via their browser to the web server. The web server then needs to forward those orders to a constantly running application written in C++. Eventually the C++ program should be able to send order results back to the web server who can forward the results to the user's browser if they're still connected.
I've thought about having the web server record pending orders to a database which the C++ program polls for changes. That doesn't seem very efficient though. I believe it will have issues with to many users. Is there some method/technology that is typically used for this type of situation?
You have a few options;
1. API
This is more the traditional option, you have some form of API built into your website, and your C++ program contacts the API to receive and update orders. You would probably want to use this if your C++ program isn't hosted on the same server. However you will need to ensure you keep the API secure from outside parties accessing it to fake orders etc.
2. Shared file or database
If your application is running on the same server you could have both programs access a database or flat-file.
3. Sockets (TCP)
This method is likely overkill, you have your C++ program act as TCP server and your python program connects to it and sends it the orders as they come in. You should be aware that programming this option would be significantly harder to the previous options, however it provides an instant response that the others don't.
Easy to implement BaseHttpServer on python, use pipe to communicate with c++ process and proxy_pass clients`s requests via web server.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
As an example, see the reference documentation for one of paypal's APIs:
http://www.paypalobjects.com/en_US/ebook/PP_NVPAPI_DeveloperGuide/Appx_fieldreference.html#2824913
The question is, why do they need it? Doesn't the server get it as part of the HTTP protocol?
UPDATE: Just realized the example I gave wasn't so good. I'm talking about instances where the client is talking directly to the web service. I'll close the question.
I'm not sure about PayPal specifically, but one use case for a service requiring the client's IP is that the server needs to do fraud detection (too many requests coming from the same end user), but the source IP in the packet comes from an aggregator of end user actual IPs. Perhaps the aggregator has NATted clients behind it (possibly mobile devices, who knows). The server will want the aggregator to send it the IP of its clients.
There may be other cases; this is the only one I know of.
They want to be able to identify the end user, usually to protect both you and them from abuse - both to detect fraud attempts (too many requests coming from the same IP) and to be able to find the culprit after the fact (in case of criminal activity, ISPs in many countries are required to reveal user information based on an IP to the investigating authorities).
Of course you could do the logging yourself, but considering the general state of security awareness on the internet, I understand that they're not trusting you to do it well enough.