Hack Forums
[C#] Embed twitter feed in program? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [C#] Embed twitter feed in program? (/showthread.php?tid=5398296)



Embed twitter feed in program? - Lor‌d - Sep 6, 2016

So I have tried simply putting a webbrowser on the form and setting the html as the html code for the twitter widget but it refuses to load. Just says "Tweets by @xxxxxxxx"
I think it's having a javascript error or something.
Anyone have any ideas how I could easily embed a timeline in my project?
There's probably some really easy way i'm overlooking but I haven't slept in like 2 days and i'm just completely lost right now.


* - Soulmate~っ☆ - Sep 6, 2016

Is the one you tried where it says "Tweets by @whatever" only and doesn't load anything or were you trying to make it from scratch or something?
https://dev.twitter.com/web/embedded-timelines


* - Lor‌d - Sep 6, 2016

(Sep 6, 2016 06:30 PM)Soulmatе Wrote:  Is the one you tried where it says "Tweets by @whatever" only and doesn't load anything or were you trying to make it from scratch or something?
https://dev.twitter.com/web/embedded-timelines

Well I tried to copy and paste my current code but HF's firewall blocked it or something.

I used twitter's Widget creator and copied the HTML code it generated.
My end result is this:
[img]http://image.prntscr.com/image/47fee91f933041779019c500b550dd63.png[/img]