need favour in twitter code
hello,
i need a little favour if any buddy have working twitter code then please share... i waste 3 days for that but nothing going good .. following are the thing i research and implement too much [/I]
1- Sharekit :
I use share kit but my current scenario is that i have custom facebook app and custom twitter ... facebook are implement and running ok ... not use sharekit api for facebook.
but i try the twitter source in share but it has too much hard to understand because they have manages all the objects in the items list in UIActionSheet.. and i only want to use twitter code and when i do to seperate its goona crazy..
2- MGTwitterEngine:
I also try this but the code is not working after OAuth authentication its crashes the app .. and not tweet the string.
Note:
I care the text length i only tweet 20 characters ..
Outcome What I Request:
I want a twitter code which is simply implements and also have simple to integrate.. I only tweet ... please give me simple code and i am very thankful if you give me here and tell me how its work .. because i am too much exhaust..
Thanks :)
but i try the twitter source in share but it has too much hard to understand because they have manages all the objects in the items list in UIActionSheet.. and i only want to use twitter code and when i do to seperate its goona crazy..
If you check the documentation for ShareKit, you will see that it is trivial to share with a specific service instead of triggering the action sheet.
Related
I have been looking into how to venmo deeplinking schemes and am trying to open a user's account based on their username. I looked all over the internet for this and closest I came was this blog post. The person in the blog post is so close to achieving what I'm going for but I still can not figure it out. I tried changing up the "venmo://users" multiple times trying to open up a profile with a username but nothing has worked. How can I accomplish this?
Thank you in advance
I found a tricky way to finding out Venmo's deep link to a user's account. On this site https://app.urlgeni.us/ you can paste the URL you're trying to get the deep link for and it'll provide iOS and Android information.
Also, by reviewing how it works, it provides an API (https://app.urlgeni.us/api/internal/test_url) to which you must invoke (POST method) and it'll return the deep link, by sending a JSON input as the following:
{"url":"venmo.com//UserName"}
Response will include something like:
"android_scheme": "intent://user?user_id=XXXXXXX#Intent;package=com.venmo;scheme=venmo;end",
"ios_scheme": "venmo://users/XXXXXXX"
I am using the Instagram Rest API for a simple application and I've hit a bumb.
The call https://api.instagram.com/v1/tags/{tag-name} works fine (I also have the ?accesstoken=XXXXX... appended).
But the call for basic user information is not working. Not in the developer console and not in the browser when modifying my own URL.
Has the method been removed? Is it broken? If no one has an answer for that; How do you contact Instagram to report the broken link?
Thanks to #CnapoB I managed to realise the call wasnt what I was looking for! And also he showed me the Instagram Endpoints doesn't show the easy way!
https://api.instagram.com/v1/tags/{tag-name}?access_token=ACCESS_TOKEN
might as well be
https://api.instagram.com/v1/tags/{tag-name}?client_id=CLIENT_ID
which means you don't have to have the user login to the application etc.
Thank you so much for this!
What I wanted to do was instead this: (example: tyrabanks)
https://api.instagram.com/v1/users/search?q=tyrabanks&client_id=CLIENT_ID&count=1
How to Access Particular website like (eventful.com) API in Phonegap using Xml Parsing, For eg I will press search button by texting like "Banglore" in my phonegap means it retrieve events in banglore from eventful website.please give a simple and clear demo using some sample websites. Thanks in advance
I'm developing a facebook application and I need test users to test it.
I know that facebook provides now the possibility to create tests users, but they can't "like" a public page and this prevent me to use them because the "likes" is the only thing I need.
Do you know any solutions?
Thanks in advance.
Adding Like button code is quite simple, so if the goal of your testing is to make sure it will work properly with Facebook, all you need is to generate Like code using FB Reference , and you can be confident it works without testing.
If the goal of your testing is testing something else, based on number of responses, and you need a good representation of numbers (e.g. 10, 100, 1000, ...), you have 2 options:
hook "pseudo like" to some file/db table where you can change it as you want, test with all the numbers you need to test, and then replace with real FB Like
since Like is based on URL, during testing you could test your logic using Like code for some other pages (that already have different number of likes). For example reference page I gave a link to above, has about 65k likes, so I could use code for that page temporarily to test my logic for 65k likes.
After that you still can test a few numbers by using your friends as test subjects of course.
If only there were a website where you could ask all of your friends to help you... a website that included the ability for those friends to "like" whatever it is you are working on... you'd have to ensure that those friends were willing to spare a brief moment of the work day to (gasp) not work and view the website instead...
Sarcasm aside, I think your best bet will be to ask the people on facebook for a few likes just to help you with a project.
I'm looking for a solution to "linkify" (twitters term, not mine) tweets - to ensure that #names are correctly linked, at that html links are ready for use too prior to displaying the tweet in a uiwebview
I can see a couple of potential routes
NSScanner based solution where I look for an # and then the next " " and link everything between. Do same for http://
Use Twitter Anywhere linkifier in a UIWebView, which just feels wrong
Some clever regex
So before I reinvent any wheels, has anyone got any advice, done this, know of a prewritten class, or anything else I've forgotten?
Check out this page from the twitter documentation:
http://dev.twitter.com/pages/tweet_entities
Are you using the API? I believe there's now an entities payload on each tweet that identifies where things like URLs, hashtags and usernames are within the text of a tweet.
I'd verify that's there myself, but I'm on a locked down corporate network at the moment.
Edit:
Here's a link to their announcement of the functionality - http://groups.google.com/group/twitter-api-announce/browse_thread/thread/9b869a9fe4d4252e?hl=en#