I've read all other question regarding this issue, but could not find a solution. I modified the IP whitelist in the facebook app settings to include the server by which the API is being called, but after I do so, I get an even more worrying "This IP can't make requests for that application." when trying to use the Facebook API from my web app.
The odd thing is that it was working till yesterday, when last user signed up and logged in via Facebook into the app.
Today, all of a sudden, my web application is not authorized anymore?
?
The reputation problem with shared IPV4 addresses is going to get far worse when the carriers are forced to use CGNAT for IPV4 addresses when the IPV4 address pool runs out. The IPV4 address pool in North America is expected to run out in Q1 2015. It has already run out in South America, Europe, and Asia. Currently IPV4 addresses are shared through time (the IPV4 address the belonged to me yesterday belongs to you today, and may belong to that person over there next week.). With CGNAT, the IPV4 address that I am using at the moment may be the same IPV4 address that you are using right now as well. This means that if one of us violates TOS, all of us may be restricted.
IPV6 should not have this problem. They are so sparsely allocated that the /64 you are using now should be yours for a long time, and even if it does change, you are unlikely to get one that anyone else is using, or has used in the last several years.
What I received from Facebook Platform Team
The IP address from which you're trying to use the Facebook API from
is blacklisted, because someone else using the same IP address has
recently violated the Facebook API Terms of Service. Your only option
is to obtain a different IP address to use with the Graph API.
was not very helpful, but I was making a silly mistake myself: the server was communicating with the Facebook API using its IPv6 address, and I was aware of this, but instead of using the proper IPv6 address for the server, I was converting the server IPv4 address to an IPv6 address and using that value, because that's how I thought that IPv6's are getting assigned.... (out of plain ignorance or genius ;) )
Related
I've been building a fairly simple website-based Facebook app on a 192.168 local IP address. I'm now moving my server onto a larger local network on a 172.30 IP address, but I can't change the website address in my app settings - I get the error message "This can't be a Facebook URL" and it refuses to save the new setting. Everything functions just fine on the 192.168 address for development, but this address is not accessible by the end users so it's not an option to stay on this address.
What are my options for getting some sort of address Facebook will accept?
I wonder whether appending a port number may get around Facebook's URL checking. A local DNS entry may also be an option but is more hassle than it's worth if there are other options.
Facebook URL is not worked in local environment.
AS i know Facebook chat is running on XMPP protocol. It is decentralised, but not P2P. It is similar to email - there is no central server, but lots of domain servers talking to each other and taking care of their clients. I am think about that is it possible to get user IP address who chat with us with coding or programming if so then how?
No, its not possible.
RFC 6120: Extensible Messaging and Presence Protocol (XMPP): Core states the following in Section 13.10: Information Leaks:
13.10.1. IP Addresses
A client's IP address and method of access MUST NOT be made public by
a server (e.g., as typically occurs in [IRC]).
If a client requests its own IP address, that policy is not violated. However, a server MUST NOT return the IP address of another client (e.g., if a connected client sends a SIC request to the bare JID of another user); instead, it MUST return a forbidden error.
No you can't. Only way that would be possible, is by doing som serious social engineering and phising...
After changing my IP address on Server, Facebook login is not working.
So I reverted back previous IP but it is still not working anymore.
There is no response.
Seems that there is some IP protection
How Can I delete FB cache or understand something more? :/
This seems to be a problem with your ISP, or your FB account is compromised.
Considering that by "changing your IP" and then "changing it back" implies you probably used a proxy, then most likely that proxy was not secure and a hacker stole your account and changed the password.
Try resetting by email. If your email is also no longer valid, then you know a hacker stole your account. Report this to Facebook.
p.s. this is not a programming questino and hence is off-topic. Perhaps try Superuser?
It's was a Facebook bug, the IP was blacklisted in the facebook app, but without reason.
And even it was inserted into whitelist it was blocked for some days.
Now solved.
we inserted IP in whitelist
we removed IP from whitelist
we add both IPs in whitelist
we created a new app for test
we come back to previuos IP but nothing to do
"This IP can't make requests for that application" this seems a bug that other used had after changing IP.
At the end we used the previous IP to make it working.
How can I retrieve actual IP address and short log of IPs from which is user logged into google/facebook account?
More details:
I need to find out user position (in android APP), but many doesn't use GPS to save battery. Getting position from network is not very accurate. So I thought, I could determine position based on IP, because, when you are at home, you connecting to your gmail/youtoube/... from different IP than when you are at work. Then I can just pair positions with IPs.
If the user connects to your server, then you will have their IP address, and you can use a number of different IP geolocation APIs to convert the IP address to a location. Note that IP-based geolocation isn't particularly accurate (it's approximately accurate to the city, but not to anything more fine-grained than that).
You aren't going to get logs from Google, though.
My application talks to my server and currently server's ip is embedded in the client application.
For any reason, I might have to change the server's location(and it's ip).
With current setup, I'll have to ship a new version with new server ip embedded.
I guess I could get a domain name and embed the domain name in the app, so that I can dynamically change the server machine(with domain name fixed).
Is there other options I could take?
Thank you
You should definitely use DNS. Get a domain name, they are very inexpensive.
If for some reason you absolutely refused, you could devise a way to send a push notification to the phone for IP changes, but if a user has notifications off then you are out of luck.