blob: c4e51d41bcb3a0db62d3e7d3445187a1982d13b0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
package com.pitchedapps.frost.facebook.requests
import com.pitchedapps.frost.internal.COOKIE
import com.pitchedapps.frost.internal.authDependent
import org.junit.BeforeClass
import org.junit.Test
import kotlin.test.assertNotNull
/**
* Created by Allan Wang on 12/04/18.
*/
class FbFullImageTest {
companion object {
@BeforeClass
@JvmStatic
fun before() {
authDependent()
}
}
@Test
fun getFullImage() {
val url = "https://touch.facebook.com/photo/view_full_size/?fbid=107368839645039"
val result = COOKIE.getFullSizedImageUrl(url).blockingGet()
assertNotNull(result)
println(result)
}
}
|