Facebook troubles using visual web developer 2010 - c#

I'm sorry if this is the 100 post you see on this topic, but I could't find one that is helping so far.
I'm trying to simple project on Visual Web Developer 2010 express That logs in to a given user name in facebook and enters a status for him(2 text boxes for user name and password and another one for the text to be the status, and a button to start)
i can't find a way to do so without creating a facebook app and using the app_id and facebook personal plugins for login..
can someone give me help on the subject? code samplesm or something that i can implement now, this small project is for a job review i have in 2 days
thanks for the help :)

I'm not sure on this but...
I would make a facebook app for this.
You could also search the page and find an element using jQuery. Im not sure if the id of the controls on the textbox change that much.
Again. Not sure. Just some guesses. You can find valuable information on the facebook api here http://developers.facebook.com/docs/reference/php/facebook-api/
This is another alternative that is probably the right approach. Can you provide more details?

Related

C# Selenium solving google ReCaptcha, iFrame issues

currently, I automate some processes using selenium and need to solve Google ReCaptcha.
The technology used to solve the ReCaptcha is the browser, Plugin Buster.
I enter the Google ReCaptcha using the following
driver.SwitchTo().Frame(0);
driver.FindElement(By.Id("recaptcha-anchor")).Click();
Now I switch back to the default Frame using:
driver.SwitchTo().DefaultContent();
Now I try to enter the Google ReCaptcha Menu Frame and click the Buster icon, using the following code.
driver.SwitchTo().Frame(Indexoftheframetoenter);
driver.FindElement(By.CssSelector("#solver-button")).Click();
Icon to click
The problem with that is, the index seems to be a random lower number, which causes my code not to click the icon. I managed to "solve" this issue with ugly try and catch blocks, covering a specific amount of numbers. I am not familiar with iFrame. Is there a way to guess this specific iFrame?
Thank you very much
Update. It helped me to write down what I wanted.
Noticed you can also enter iFrames using their names. I leave this here for the community.
driver.SwitchTo().Frame("recaptcha challenge");
Google detects that it is a bot and does not perform the audio captcha, so this method will be of little use to you via selenium

Can we use Windows UI Automation API to automate web page in Internet Explorer?

We have a web application and we want to use Windows Native UI Automation API for .Net to automate that.
I've been looking into this for hours, but couldn't find anything. I can get to the windows parts of the internet explorer, like menu, minimize button, maximize button, close button etc but not able to go inside the page opened. I am wondering if it is possible at all. If it is, then can someone please point me to the right direction?
Thanks!
I ended up using WatiN along with Windows Automation API. Thanks everyone who showed interest in this. Appreciate it.

skydrive and mvvm on wp8

I’ve got a few questions which i hope you can help me with in regards to using SkyDrive with a wp8 app.
Does the live sdk support mvvm pattern? I’ve tried implementing standard code to login in my viewmodel, but it keeps throwing me a strange error i.e. Filenotfound for presentation library. When i implemented on a view it works. Any idea?
I know my internet speed is slow (poor connection from where i am on holidays!!), but should i really display a progress bar of some sort?
My sign in button is in my settings page but I’m not sure where should i auto-login from as I’ve got a splash screen page that loads up first but based on options selected in my settings, the next page loading could be any of the 3 available and I’m not sure where i should implement this if it doesn’t support mvvm. Should i duplicate the code in all 3 pages? Then what, assuming i do and i auto-login to my skydrive, the data i want to upload is done from another page, what do i do for that? The idea is that i want login so i don’t have to do it when it’s time to upload the data.
Any help clarifying these questions would be greatly appreciated.
Thanks.
T

Pop up application

I am writing an application that needs to create an object relative to the position of the carrot(EDIT: caret) when a user selects a text field in a different application on Windows (i.e. Firefox search box, etc...).
Do you have any suggestions or tutorials where I could read about this?
Thank you
I just found a great article on Code Project which answers my question.
http://www.codeproject.com/Articles/34520/Getting-Caret-Position-Inside-Any-Application Great code, thanks Saurabh Singh Gangwar

Create lengthy webLink in Windows phone7

In my Windows phone7 application I load some data from a XML feed. Some of them are links to Web pages. I used textblocks to display data. In my previous LINK I found how to open web page in HyperlinkButton.
But I cant use that way because HyperLinkButton doesn't have TextWrapping property and those links are lengthy. I need to show entire link and once user click the link, need to access the corresponding web page.
It would be great if someone can Suggest a way to achieve this. Thanks inadvance
While there could be a way around showing the entire link, lemme ask you this .. do you want to? How about just saying "Click 'here' ..." or something & let the user tap on it for navigation?
Please see some of the design guidelines for using the HyperLinkButton here.
Hope this helps!

Categories

Resources