I have a facebook App that for some reason it got banned.
How can I find out programatically (FB C# SDK preferably) at login for instance that the application got banned?
There are no exceptions or other markers that I noticed so I could figure out this.
I am open to any ideas.
The app is not doing anything un-ethical but it pulls up a lot of data and there is a possibility that FB might not like that. So in order to keep it live, I want to know when the app got banned so that i can replace it on the fly with another one, until the issue gets resolved with th first one. FB gives you an answer only after 2+ weeks.
You might be able to use the installable field in the properties array from admin.getAppProperties outlined here: https://developers.facebook.com/docs/reference/rest/admin.getAppProperties/
Related
I am currently working on my school project - Android app that informs you about strong lightning strikes near your house in real time.
There are some websites like blitzortung.org or lightningmaps.org (or other), any ideas how can I get nice output file from one of these sites, so that I can obtain geographical data, determine whether it is near your house or not, and send a push notification for user? Displaying the strikes on the map are not needed.
I am using an Android Studio, Visual Studio 2015 as well as MS SQL database.
Thanks
You can get complete source code for this from following URL
https://github.com/wuan/bo-android
It's using data from lightningmaps.org
You can give a try to Open Weather or check this answer.
For Push you can use FCM. Just google "How to implement GCM in android?" you will whole lot of help.
According to blitzortung forum:
Please remember that Blitzortung data may not be used for commercial
purposes. General operator data access info: login to your main
Blitzortung Org account, and click the 'compendium' link under
'project area'. If you haven't already, you might also see
http://www.lightningmaps.org/doc/intro
I've been trying to see all day if it's possible to write a web app in C#/asp.net that uses the google search engine. I've been googling about it all day. I don't want the custom search api because I'm not looking to have a search engine search through a site. I want to have my web app pass input to the basic google web search that search the entire net not a particular site so I can then parse through the first page of the search results. I put that in bold because it seems like the custom search api is for searching a particular site (my own site) which is not what I want to do and yet the only thing I could find. (well for the most part at least) The closest answer I found to my question is this https://stackoverflow.com/a/4082976/5607333 Which might do the trick for me but I don't know how to do that. How do I send search input to google search and get results using html? (or in my case asp.net) If you think it's the answer to my question can you please post an example of how it's done? I say "think" because I'm not sure it's the answer to what I'm asking.
I hope this question isn't considered a dupe to the question I linked to as I have been way more specific than it.
Also if this task isn't possible in C#/asp.net but possible in another language can someone please post an example of how it's done in that language or a link to it?
Update: I figured out what an easy solution is to this it hit while I was looking at another question similar to my problem. The solution is to edit the url and then i assume you could just concatenate it in C# with the + sign.
Update: 2 Even though I figured what I specifically was having trouble with at the moment of writing this question I still doesn't why I can't find a google equivalent of this https://msdn.microsoft.com/en-us/library/dd251020.aspx that's not depreciated. I read an answer to another question on here where someone said it's because that's how they make their money off the ad results but if that's true it still surprises me.
Look this question:
Adding Google's standard search (not custom) to my website
you can use your own XML parser to customize the display for your search users.
with an http request like this:
GET /search?q=bill+material&output=xml&client=test&site=operations
But it has a limitation on number of requests per day, 500 or 1000 I guess
I need to just search Yammer for a various string on the timeline and facing a few weird issues.
Using Nuget, I got the yammer.simpleapi package (Found the bug everyone was talking about and changed it from GET to POST) and I created an App on Yammer, but, this is where the fun starts.
I have a local page http://localhost/home/yammer which redirects to Oauth and then redirects to my app with the key and I retrieve basic user settings.
Now, this is where I get confused - I see if I refresh this page, I just get a blank response (I guess that the code is only good for one query?), but if I refresh the http://localhost/home/yammer - I sometimes get the correct response and sometimes I get nothing.
This is best shown in a recording I did - https://youtu.be/RqrAGiP7Rh4
This is really annoying me and I was wondering if anyone knows what is going on?
I would post code examples, but, there hasn't really been anything modified from the original yammer.simpleapi other than the keys.
The web example app is just working one time.
If you want to replay your page, you should save your YammerClient somewhere (or declare it in static)
I'm trying to get into the Amazon advertizing API to use with one of my apps. I heard recently that there were changes and needed an AssociateTag (broughtin from the affiliate program)
After using samples from this link
http://aws.amazon.com/code/2480?_encoding=UTF8&queryArg=searchQuery&x=0&fromSearch=1&y=0&searchPath=code&searchQuery=Advertising
and
http://flyingpies.wordpress.com/2009/08/13/signing-amazon-product-advertising-api-cwcf-part-2/
I can't seem to use those samples anymore. after some digging online I found that I was supposed to add an AssociateTag to the itemSource request variable, but I created a dummy login to facilitate that andthe output is pretty much the same. can anyone help me with this?
I had the exact same issue as I based my application on the flyingpies.wordpress example and couldn't get it to work by adding in the Associate Tag Id and the latest web service>
I downloaded this example:
http://aws.amazon.com/code/Product-Advertising-API/2481
And made some small changes and got it all working...
The main one changing the namespace to:
http://webservices.amazon.com/AWSECommerceService/2011-08-01
Throughout all the code......
I think I may have updated the code in a couple of other places and can help you if these errors occur..
As a little learning project, I'd like to make a little app that reads data from a facebook users status updates. It's been done millions of times before, I'm sure, but is there an API or something? Would I need to signup for some Facebook developers license or anything, or is it as easy as finding the API, and then simply coding to it?
I'd like to simply get friends Status Updates via my login... seems easy enough. :)
The Facebook Developer links posted above are good, but it might be useful to look at some examples.
The Facebook C# SDK, found here: http://facebooksdk.codeplex.com/, has samples in ASP.NET MVC. It's a pretty simple project, so it should be relatively easy to see how things work in practice.
You can create an app at http://developers.facebook.com/
Then, download the sample project, replace the AppId and AppSecret with values from your registered app, and see how it works.
You can start reading here: http://developers.facebook.com/docs/
And look in the forum discussions here: http://forum.developers.facebook.net/index.php
This post was helpful to me http://gathadams.com/2007/06/18/how-to-write-a-facebook-application-in-10-minutes/
Also keep in mind this last change made for FB team about Post for canvas http://developers.facebook.com/docs/canvas/post/
Good luck!